aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch')
-rw-r--r--patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch b/patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch
index 5597570f86..144c65f282 100644
--- a/patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch
+++ b/patches/server/0347-Don-t-move-existing-players-to-world-spawn.patch
@@ -13,10 +13,10 @@ By skipping this, we avoid potential for a large spike on server start.
public net.minecraft.server.level.ServerPlayer fudgeSpawnLocation(Lnet/minecraft/server/level/ServerLevel;)V
diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-index 285a9badc1a8b6582b808f0d474bcd22821e2c71..538fe865ad27796371d11123ce03602719a9be68 100644
+index 2cfe7e0e48ee8dcfb4bbcb2a8f6454d01d31d817..07b5a783ed9fec073f232f00c41f9e051f243efe 100644
--- a/src/main/java/net/minecraft/server/level/ServerPlayer.java
+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-@@ -381,7 +381,7 @@ public class ServerPlayer extends Player {
+@@ -337,7 +337,7 @@ public class ServerPlayer extends Player {
this.stats = server.getPlayerList().getPlayerStats(this);
this.advancements = server.getPlayerList().getPlayerAdvancements(this);
this.setMaxUpStep(1.0F);
@@ -25,7 +25,7 @@ index 285a9badc1a8b6582b808f0d474bcd22821e2c71..538fe865ad27796371d11123ce036027
this.updateOptions(clientOptions);
this.cachedSingleHashSet = new com.destroystokyo.paper.util.misc.PooledLinkedHashSets.PooledObjectLinkedOpenHashSet<>(this); // Paper
-@@ -615,7 +615,7 @@ public class ServerPlayer extends Player {
+@@ -571,7 +571,7 @@ public class ServerPlayer extends Player {
position = Vec3.atCenterOf(world.getSharedSpawnPos());
}
this.setLevel(world);
@@ -35,7 +35,7 @@ index 285a9badc1a8b6582b808f0d474bcd22821e2c71..538fe865ad27796371d11123ce036027
this.gameMode.setLevel((ServerLevel) world);
}
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
-index 3f39d64fe673ae0f4b155a5f9e757c981ada96c1..c04db4712ac4127cffe250e404eed9198b377429 100644
+index 60e50ce92414515c22f4d71e517504a7377c7e64..4530ba80f7d3983cf4ed9908eb1109c58aa425f2 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
@@ -226,6 +226,7 @@ public abstract class PlayerList {