geforkt von Mirrors/Paper
5d24f2b9c0
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. |
||
---|---|---|
.. | ||
jline | ||
net/minecraft/server | ||
org |