From bd9f8503460f6cc77c7695eaa3fa61589f32919d Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 3 Jul 2020 09:54:05 +1000 Subject: [PATCH] SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn By: md_5 --- paper-server/nms-patches/PlayerList.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/PlayerList.patch b/paper-server/nms-patches/PlayerList.patch index 05331af865..de63fc806b 100644 --- a/paper-server/nms-patches/PlayerList.patch +++ b/paper-server/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();