From 7f6b4f587c1dd219ad12c344d578cb1d5b36a135 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 3 Jul 2020 09:54:05 +1000 Subject: [PATCH] SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn --- 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 05331af86..de63fc806 100644 --- a/nms-patches/PlayerList.patch +++ b/nms-patches/PlayerList.patch @@ -475,7 +475,7 @@ + } + + Player respawnPlayer = cserver.getPlayer(entityplayer1); -+ PlayerRespawnEvent respawnEvent = new PlayerRespawnEvent(respawnPlayer, location, isBedSpawn); ++ PlayerRespawnEvent respawnEvent = new PlayerRespawnEvent(respawnPlayer, location, isBedSpawn && !flag2, flag2); + cserver.getPluginManager().callEvent(respawnEvent); + + location = respawnEvent.getRespawnLocation();