From fa835a16a81488378a38ad4f9590cc6f08db34c6 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 18 Nov 2020 08:13:56 +1100 Subject: [PATCH] SPIGOT-6244: /spawnpoint ignores angle 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 be4b5d1c0a..61d14b6dac 100644 --- a/paper-server/nms-patches/PlayerList.patch +++ b/paper-server/nms-patches/PlayerList.patch @@ -479,7 +479,7 @@ + entityplayer1.setRespawnPosition(worldserver1.getDimensionKey(), blockposition, f, flag1, false); + flag2 = !flag && flag3; + isBedSpawn = true; -+ location = new Location(worldserver1.getWorld(), vec3d.x, vec3d.y, vec3d.z); ++ location = new Location(worldserver1.getWorld(), vec3d.x, vec3d.y, vec3d.z, f1, 0.0F); + } else if (blockposition != null) { + entityplayer1.playerConnection.sendPacket(new PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.a, 0.0F)); + }