aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0049-Add-PlayerInitialSpawnEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0049-Add-PlayerInitialSpawnEvent.patch')
-rw-r--r--patches/server/0049-Add-PlayerInitialSpawnEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0049-Add-PlayerInitialSpawnEvent.patch b/patches/server/0049-Add-PlayerInitialSpawnEvent.patch
index 52241d8e84..2ea1d3a2b7 100644
--- a/patches/server/0049-Add-PlayerInitialSpawnEvent.patch
+++ b/patches/server/0049-Add-PlayerInitialSpawnEvent.patch
@@ -12,10 +12,10 @@ improve setPosition to use raw
public net.minecraft.world.entity.Entity setRot(FF)V
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
-index f5a4191977e8675952fc689744c8a39e86f62a07..e870be760f00bac1d5eb32ed6d22c4dc8a8ebf78 100644
+index 72488b0d499e4e0d0ccba38622cc5a3f88a9e3fa..50ceb120d04c3149dd1cca7908a9ea862b25e5ab 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
-@@ -227,7 +227,7 @@ public abstract class PlayerList {
+@@ -228,7 +228,7 @@ public abstract class PlayerList {
// Spigot start - spawn location event
Player spawnPlayer = player.getBukkitEntity();
@@ -24,7 +24,7 @@ index f5a4191977e8675952fc689744c8a39e86f62a07..e870be760f00bac1d5eb32ed6d22c4dc
this.cserver.getPluginManager().callEvent(ev);
Location loc = ev.getSpawnLocation();
-@@ -235,7 +235,10 @@ public abstract class PlayerList {
+@@ -236,7 +236,10 @@ public abstract class PlayerList {
player.spawnIn(worldserver1);
player.gameMode.setLevel((ServerLevel) player.level());