aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-spigotflower-stripped/net/minecraft/server/commands/SetSpawnCommand.java.patch
blob: 57fa9887c4d01f9f1e0e2e653a9c8b44ecf9ee14 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/minecraft/server/commands/SetSpawnCommand.java
+++ b/net/minecraft/server/commands/SetSpawnCommand.java
@@ -42,7 +41,7 @@
         while (iterator.hasNext()) {
             ServerPlayer serverplayer = (ServerPlayer) iterator.next();
 
-            serverplayer.setRespawnPosition(resourcekey, blockpos, f, true, false);
+            entityplayer.setRespawnPosition(resourcekey, pos, angle, true, false, org.bukkit.event.player.PlayerSpawnChangeEvent.Cause.COMMAND); // CraftBukkit
         }
 
         String s = resourcekey.location().toString();