mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
12 lines
558 B
Diff
12 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();
|