aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0587-Add-PlayerSetSpawnEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0587-Add-PlayerSetSpawnEvent.patch')
-rw-r--r--patches/server/0587-Add-PlayerSetSpawnEvent.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0587-Add-PlayerSetSpawnEvent.patch b/patches/server/0587-Add-PlayerSetSpawnEvent.patch
index 5c81577101..2c3b96803d 100644
--- a/patches/server/0587-Add-PlayerSetSpawnEvent.patch
+++ b/patches/server/0587-Add-PlayerSetSpawnEvent.patch
@@ -49,10 +49,10 @@ index a2d0699e8427b2262a2396495111125eccafbb66..15db9368227dbc29d07d74e85bd126b3
}
}
diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-index b9aadb3eea0a8910f58fa747c50959ebcf89292a..36e3676d4a0725d5b55388367152c13c078b6abd 100644
+index ff5d24f6afd224496dd1902497497483ec7fc24d..22f9b40e2c9a71f8944b1738e91ee2e189a77cec 100644
--- a/src/main/java/net/minecraft/server/level/ServerPlayer.java
+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-@@ -1374,7 +1374,7 @@ public class ServerPlayer extends Player {
+@@ -1384,7 +1384,7 @@ public class ServerPlayer extends Player {
} else if (this.bedBlocked(blockposition, enumdirection)) {
return Either.left(Player.BedSleepingProblem.OBSTRUCTED);
} else {
@@ -61,7 +61,7 @@ index b9aadb3eea0a8910f58fa747c50959ebcf89292a..36e3676d4a0725d5b55388367152c13c
if (this.level().isDay()) {
return Either.left(Player.BedSleepingProblem.NOT_POSSIBLE_NOW);
} else {
-@@ -2344,44 +2344,50 @@ public class ServerPlayer extends Player {
+@@ -2354,44 +2354,50 @@ public class ServerPlayer extends Player {
return this.respawnForced;
}
@@ -145,7 +145,7 @@ index b9aadb3eea0a8910f58fa747c50959ebcf89292a..36e3676d4a0725d5b55388367152c13c
} else {
this.respawnPosition = null;
this.respawnDimension = Level.OVERWORLD;
-@@ -2389,6 +2395,7 @@ public class ServerPlayer extends Player {
+@@ -2399,6 +2405,7 @@ public class ServerPlayer extends Player {
this.respawnForced = false;
}