3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 13:00:06 +01:00
Paper/src/main/java/org
BlackyPaw 8cc1683e83 SPIGOT-989: Cap assignment of pickup delays to Short.MAX_VALUE due to storage implementation constraints.
Changed assignment of pickup delays in such a way that they may not be larger than the value actually stored inside the NBT format that is Short.MAX_VALUE. Did not change method signature in order not to produce any shortening cast warnings in existing code. All values larger than 32767 are generally used to indicate that an item should never be picked up. Shortening this to 32767 will actually cause the pickup delay to never decrease, thus resulting in non-pickupable item stacks.
2015-09-30 08:48:28 +10:00
..
apache/logging/log4j/core/appender Catch all exceptions in jansi initialization. Fixes BUKKIT-4936 2013-12-02 15:46:34 -06:00
bukkit/craftbukkit SPIGOT-989: Cap assignment of pickup delays to Short.MAX_VALUE due to storage implementation constraints. 2015-09-30 08:48:28 +10:00