Parsing of NBT numbers is incorrect
SquidDev opened this issue ยท 1 comments
Useful information to include:
- CC: Tweaked version: 1.93.0
textutils.unserializeJSON
should handle numbers like 1.0d
, but it does not:
The bug is on this line. We should be using last
instead of pos
.
Probably should write some tests for this too. Numbers like 0d
work currently, but clearly I didn't test anything more complex!