Muqsit Rayyan 55dfacea8d
Item: Improve performance of nbtSerialize() (#4831)
Replace hasNamedTag() with $nbt->count() > 0
This avoids a duplicate indirect call to Item::serializeCompoundTag() method call when serializing items with namedtags.
2022-02-16 00:32:12 +00:00
..
2021-12-07 00:41:07 +00:00
2020-12-11 22:44:04 +00:00
2021-12-07 00:41:07 +00:00