ItemJoin

ItemJoin

157k Downloads

Could not pass event InventoryClickEvent to ItemJoin

mibby opened this issue ยท 2 comments

commented

Tuinity dev 328 (Paper 1.16.1)
https://github.com/Spottedleaf/Tuinity/actions
ItemJoin dev 492

Noticed this error when scrubbing logs for issues.

[19:19:09] [Server thread/ERROR]: Could not pass event InventoryClickEvent to ItemJoin v5.0.7-SNAPSHOT-b492
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 36
	at java.util.Arrays$ArrayList.get(Arrays.java:4164) ~[?:?]
	at net.minecraft.server.v1_16_R1.NonNullList.get(SourceFile:46) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.PlayerInventory.getItem(PlayerInventory.java:541) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at org.bukkit.craftbukkit.v1_16_R1.inventory.CraftInventory.getItem(CraftInventory.java:49) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at me.RockinChaos.itemjoin.listeners.Commands.onEquipClickCommand(Commands.java:99) ~[?:?]
	at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:2438) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at xuan.cat.xuancatapi.code.v1_16_R1.nms.entity.CodeExtendPlayerConnection.packetIn(CodeExtendPlayerConnection.java:803) ~[?:?]
	at xuan.cat.xuancatapi.code.v1_16_R1.nms.entity.CodeExtendPlayerConnection.packetIn(CodeExtendPlayerConnection.java:604) ~[?:?]
	at xuan.cat.xuancatapi.code.v1_16_R1.nms.entity.CodeExtendPlayerConnection.a(CodeExtendPlayerConnection.java:207) ~[?:?]
	at net.minecraft.server.v1_16_R1.PacketPlayInWindowClick.a(SourceFile:32) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:43) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1192) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1185) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1161) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1005) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Tuinity-"650532a"]
	at java.lang.Thread.run(Thread.java:832) [?:?]
commented

Thanks for the bug report, should now be fixed in the latest snapshot; http://ci.craftationgaming.com/job/ItemJoin/494/

commented

This bug has been officially fixed in the release of ItemJoin v5.0.7.
You can grab it here; Download: https://www.spigotmc.org/resources/itemjoin.12661/download?version=354306

Please read the changelog as the documentation has not been updated yet;
https://github.com/RockinChaos/ItemJoin/wiki/Recent-Changes