mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
5d24f2b9c0ef2d6d136e36a64c530a1fde657f5c
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.
CraftBukkit
A Bukkit (Minecraft Server API) implementation
Website: http://bukkit.org
Bugs/Suggestions: http://leaky.bukkit.org
Contributing Guidelines: CONTRIBUTING.md
Compilation
We use maven to handle our dependencies.
Description
Read-only mirror of https://github.com/PaperMC/Paper
https://github.com/PaperMC/Paper
568 MiB
0 Stars
2 Watchers
1 Forks
Languages
Java
100%