Bug Report - LegacyJacob
Hey there. I found an issue with what I believe is the Dungeon Party. This is the console [18:53:17 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'md' in plugin MythicDungeons v1.0.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[pap er-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:15 9) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServ er.java:906) ~[paper-1.18.2.jar:git-Paper-302] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleComma nd(ServerGamePacketListenerImpl.java:2306) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat( ServerGamePacketListenerImpl.java:2117) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat( ServerGamePacketListenerImpl.java:2098) ~[?:?] at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(Serv erboundChatPacket.java:46) ~[?:?] at net.minecraft.network.protocol.game.ServerboundChatPacket.a(Serverbou ndChatPacket.java:6) ~[?:?] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSame Thread$1(PacketUtils.java:51) ~[?:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.18.2.ja r:git-Paper-302] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEvent Loop.java:153) ~[?:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(Reent rantBlockableEventLoop.java:24) ~[?:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1 399) ~[paper-1.18.2.jar:git-Paper-302] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[pa per-1.18.2.jar:git-Paper-302] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventL oop.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer .java:1376) ~[paper-1.18.2.jar:git-Paper-302] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:13 69) ~[paper-1.18.2.jar:git-Paper-302] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEv entLoop.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServe r.java:1347) ~[paper-1.18.2.jar:git-Paper-302] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1 229) ~[paper-1.18.2.jar:git-Paper-302] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.ja va:315) ~[paper-1.18.2.jar:git-Paper-302] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "net.playavalon.mythicd ungeons.player.party.DungeonParty.getLeader()" because the return value of "net. playavalon.mythicdungeons.player.MythicPlayer.getParty()" is null at net.playavalon.mythicdungeons.MythicDungeons.onCommand(MythicDungeons .java:597) ~[MythicDungeons-1.0.0.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[pap er-api-1.18.2-R0.1-SNAPSHOT.jar:?] ... 21 more
How to replicate:
- /md play any dungeon
- Leave the game and join back
- Do /md leave
- You can no longer join the dungeons using /md play any dungeon