Unable to create dungeon.
Hello, can you tell me why the following error is occurring? I am using pufferfish 1.20 and MythicDungeons 1.1.2 version.
[14:30:29] [Server thread/INFO]: playername issued server command: /md play dungeon02
[14:30:29] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'md' in plugin MythicDungeons v1.1.2-SNAPSHOT
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:933) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2526) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.entity.CraftPlayer.chat(CraftPlayer.java:690) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at com.extendedclip.deluxemenus.action.ClickActionTask.run(ClickActionTask.java:70) ~[DeluxeMenus-1.14.0-DEV-null.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1482) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:450) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1396) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[pufferfish-1.20.1.jar:git-Pufferfish-4]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 10
at java.util.ArrayList.add(ArrayList.java:455) ~[?:?]
at java.util.ArrayList.add(ArrayList.java:467) ~[?:?]
at net.playavalon.mythicdungeons.managers.QueueManager.enqueue(QueueManager.java:37) ~[MythicDungeons-1.1.2-SNAPSHOT.jar:?]
at net.playavalon.mythicdungeons.MythicDungeons.sendToDungeon(MythicDungeons.java:1759) ~[MythicDungeons-1.1.2-SNAPSHOT.jar:?]
at net.playavalon.mythicdungeons.MythicDungeons.onCommand(MythicDungeons.java:745) ~[MythicDungeons-1.1.2-SNAPSHOT.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[pufferfish-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 13 more
When this error occurs, you cannot create a new dungeon until the server is restarted.