3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 13:00:06 +01:00
Paper/src/main/java
Andre LeBlanc 5d24f2b9c0 Make AnvilInventory.getItem() use both containers. Fixes BUKKIT-2788
The AnvilInventory reports its size as the sum of the ingredient and
result inventories, but when trying to access the slots, only the
ingredient inventory is used, leading to an ArrayIndexOutOfBounds exception.

This change overrides getItem(I) and setItem(I) to use both inventories,
with the slot number adjusted based on their size.
2014-04-18 13:21:21 -05:00
..
jline Use jansi's Windows support for terminal colors. 2012-05-23 15:32:42 -05:00
net/minecraft/server Allow plugins to enchant normally unenchantable items. Adds BUKKIT-1849 2014-04-18 13:13:01 -05:00
org Make AnvilInventory.getItem() use both containers. Fixes BUKKIT-2788 2014-04-18 13:21:21 -05:00