Crash whenever right-clicking to use Flint in 1.17
Version: CraftBukkit version 3099-Spigot-c9cea60-e2f5ea3 (Implementing API version 1.17-R0.1-SNAPSHOT)
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at net.minecraft.core.NonNullList.get(SourceFile:46) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.world.inventory.Container.b(Container.java:272) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.world.inventory.Container.d(Container.java:228) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.world.inventory.Container.addSlotListener(Container.java:161) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.server.level.EntityPlayer.initMenu(EntityPlayer.java:545) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftHumanEntity.openCustomInventory(CraftHumanEntity.java:325) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftHumanEntity.openInventory(CraftHumanEntity.java:303) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at io.github.rypofalem.armorstandeditor.menu.Menu.openMenu(Menu.java:197) ~[?:?]
at io.github.rypofalem.armorstandeditor.PlayerEditor$OpenMenuTask.run(PlayerEditor.java:417) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1251) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:436) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1199) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1026) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[server.jar:3099-Spigot-c9cea60-e2f5ea3]
at java.lang.Thread.run(Thread.java:831) [?:?]
Crash whenever right-clicking to use Flint in 1.17
Version: CraftBukkit version 3099-Spigot-c9cea60-e2f5ea3 (Implementing API version 1.17-R0.1-SNAPSHOT)