MC 1.14.1
This commit is contained in:
@@ -6,7 +6,7 @@ Subject: [PATCH] Add PlayerInitialSpawnEvent
|
||||
For modifying a player's initial spawn location as they join the server
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index 7939208a5a..f904e1c28d 100644
|
||||
index bab32af46..b647e4287 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
@@ -0,0 +0,0 @@ public abstract class PlayerList {
|
||||
@@ -26,7 +26,7 @@ index 7939208a5a..f904e1c28d 100644
|
||||
+ entityplayer.locZ = newLoc.getZ();
|
||||
+ entityplayer.yaw = newLoc.getYaw();
|
||||
+ entityplayer.pitch = newLoc.getPitch();
|
||||
+ entityplayer.dimension = ((CraftWorld) newLoc.getWorld()).getHandle().dimension;
|
||||
+ entityplayer.dimension = ((CraftWorld) newLoc.getWorld()).getHandle().worldProvider.getDimensionManager();
|
||||
+ // Paper end
|
||||
+
|
||||
+ entityplayer.spawnIn(((CraftWorld) newLoc.getWorld()).getHandle());
|
||||
|
||||
Reference in New Issue
Block a user