If a player dies, they get kicked from dungeon instead of respawning at checkpoint.
Hi All, Currently we are experiencing the following: If a player dies, they get kicked from dungeon instead of respawning at checkpoint.
This worked fine in the developer snapshot before the full release of the 1.2.0 version.
Below is the Error that we are getting:
[Mon 00:00:54 ERROR Minecraft] Could not pass event PlayerRespawnEvent to MythicDungeons v1.2.1-SNAPSHOT
java.lang.IllegalArgumentException: Respawn world can not be null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
at org.bukkit.event.player.PlayerRespawnEvent.setRespawnLocation(PlayerRespawnEvent.java:70)
at MythicDungeons-1.2.1-SNAPSHOT.jar//net.playavalon.mythicdungeons.listeners.InstanceListener.onPlayerRespawn(InstanceListener.java:233)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor770.execute(Unknown Source)
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615)
at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:892)
at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:795)
at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:790)
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleClientCommand(ServerGamePacketListenerImpl.java:2945)
at net.minecraft.network.protocol.game.ServerboundClientCommandPacket.handle(ServerboundClientCommandPacket.java:24)
at net.minecraft.network.protocol.game.ServerboundClientCommandPacket.a(ServerboundClientCommandPacket.java:10)
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51)
at net.minecraft.server.TickTask.run(TickTask.java:18)
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153)
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(Reen