hpfxd / PandaSpigot

Fork of Paper for 1.8.8 focused on improved performance and stability.
GNU General Public License v3.0
242 stars 67 forks source link

java.lang.IndexOutOfBoundsException when clicking on a slot in an inventory of type ANVIL created via Bukkit.createInventory() #208

Closed uRyanxD closed 3 months ago

uRyanxD commented 3 months ago

Caused by: java.lang.IndexOutOfBoundsException: Index: 7, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:659) ~[?:1.8.0_412] at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_412] at net.minecraft.server.v1_8_R3.Container.getSlot(Container.java:109) ~[patched_1.8.8.jar:git-PandaSpigot-121] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1514) ~[patched_1.8.8.jar:git-PandaSpigot-121] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:17) ~[patched_1.8.8.jar:git-PandaSpigot-121] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:5) ~[patched_1.8.8.jar:git-PandaSpigot-121] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(PlayerConnectionUtils.java:9) ~[patched_1.8.8.jar:git-PandaSpigot-121] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_412] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_412] at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:11) ~[patched_1.8.8.jar:git-PandaSpigot-121] ... 6 more