-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When reading player inventories using this script, it breaks whenever an item has NBT using an array type format. and example is {Explosion:{Type:0b,Colors:[15790320]},display:{Name:Test}} for a firework charge. The NBT of the item is read fine up until the Colors tag, at which point it breaks the whole script and fails to read anything after correctly. I can confirm it is the array format because a firework charge with the NBT of {Explosion:{Type:0b,Colors:}} is read fine with no issues. I also seem to get an error at times, depending on what items I have in my inventory. The error says this:
"Warning: unpack(): Type c: not enough input, need 1, have 0 in location/nbt.class.php on line 102"
Metadata
Metadata
Assignees
Labels
No labels