From 5e0b63c1a01542021e94bf470bc6c4ec8c3ddcee Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 27 Apr 2019 15:43:04 +1000 Subject: [PATCH] SPIGOT-4785: Experience etc lost returning from end --- nms-patches/PlayerList.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/PlayerList.patch b/nms-patches/PlayerList.patch index 0ae465a1b8..31d20b147e 100644 --- a/nms-patches/PlayerList.patch +++ b/nms-patches/PlayerList.patch @@ -475,7 +475,7 @@ + cserver.getPluginManager().callEvent(respawnEvent); + + location = respawnEvent.getRespawnLocation(); -+ entityplayer.reset(); ++ if (!flag) entityplayer.reset(); // SPIGOT-4785 + } else { + location.setWorld(server.getWorldServer(dimensionmanager).getWorld()); }