mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 15:42:19 -07:00
Move CraftBukkit per-file patches
By: Initial <noreply+automated@papermc.io>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/net/minecraft/server/commands/CommandSpawnpoint.java
|
||||
+++ b/net/minecraft/server/commands/CommandSpawnpoint.java
|
||||
@@ -41,7 +41,7 @@
|
||||
while (iterator.hasNext()) {
|
||||
EntityPlayer entityplayer = (EntityPlayer) iterator.next();
|
||||
|
||||
- entityplayer.setRespawnPosition(resourcekey, blockposition, f, true, false);
|
||||
+ entityplayer.setRespawnPosition(resourcekey, blockposition, f, true, false, org.bukkit.event.player.PlayerSpawnChangeEvent.Cause.COMMAND); // CraftBukkit
|
||||
}
|
||||
|
||||
String s = resourcekey.location().toString();
|
Reference in New Issue
Block a user