Closed Beaness closed 3 days ago
At the moment ItemStacks with a negative or zero amount can not be serialized through packetevents.
This is intentional, this would break with Minecraft 1.20.5+
Vanilla also marks items as empty, if the count is <= 0 (even for versions before 1.20.5)
This allows negative item sizes to be sent through packetevents At the moment ItemStacks with a negative or zero amount can not be serialized through packetevents. This breaks compatibility for plugins expecting isEmpty to return true if the amount is zero or below