Swap Items Key Error
Hello, I have a problem using MythicCrucible plugin.
[21:14:44 ERROR]: Could not pass event InventoryClickEvent to MythicCrucible v0.0.1-SNAPSHOT java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 36 at java.util.Arrays$ArrayList.get(Arrays.java:4351) ~[?:?] at net.minecraft.server.v1_16_R3.NonNullList.get(SourceFile:46) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.PlayerInventory.getItem(PlayerInventory.java:562) ~[patched_1.16.5.jar:git-Purpur-1051] at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftInventory.getItem(CraftInventory.java:50) ~[patched_1.16.5.jar:git-Purpur-1051] at io.lumine.mythiccrucible.items.ItemManager.onItemClickDestroy(ItemManager.java:591) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor558.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Purpur-1051] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.16.5.jar:git-Purpur-1051] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Purpur-1051] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2808) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:32) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:55) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1326) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1319) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1295) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1139) ~[patched_1.16.5.jar:git-Purpur-1051] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Purpur-1051] at java.lang.Thread.run(Thread.java:834) [?:?]
This error occurs each time you open the inventory and enter the F key.
please fix it
video : https://cdn.discordapp.com/attachments/843085895850917898/843086985954590730/2021-05-15_20-25-38.mkv