mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
30e4583dbe
By: Initial Source <noreply+automated@papermc.io>
11 lines
558 B
Diff
11 lines
558 B
Diff
--- a/net/minecraft/server/commands/SetSpawnCommand.java
|
|
+++ b/net/minecraft/server/commands/SetSpawnCommand.java
|
|
@@ -41,7 +41,7 @@
|
|
while (iterator.hasNext()) {
|
|
ServerPlayer entityplayer = (ServerPlayer) iterator.next();
|
|
|
|
- entityplayer.setRespawnPosition(resourcekey, pos, angle, true, false);
|
|
+ entityplayer.setRespawnPosition(resourcekey, pos, angle, true, false, org.bukkit.event.player.PlayerSpawnChangeEvent.Cause.COMMAND); // CraftBukkit
|
|
}
|
|
|
|
String s = resourcekey.location().toString();
|