aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0535-Expand-PlayerGameModeChangeEvent.patch
diff options
context:
space:
mode:
authorRiley Park <[email protected]>2024-07-21 03:42:04 -0700
committerRiley Park <[email protected]>2024-07-21 03:42:04 -0700
commit2a810b77f0ce62cd3be25b8850f61b448755ef6d (patch)
tree6b3c82b1909c678a3b1ce70ecf3e804ee63a989a /patches/server/0535-Expand-PlayerGameModeChangeEvent.patch
parentc250671fda4de965baec473519f38879a93b4524 (diff)
downloadPaper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.tar.gz
Paper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.zip
Diffstat (limited to 'patches/server/0535-Expand-PlayerGameModeChangeEvent.patch')
-rw-r--r--patches/server/0535-Expand-PlayerGameModeChangeEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0535-Expand-PlayerGameModeChangeEvent.patch b/patches/server/0535-Expand-PlayerGameModeChangeEvent.patch
index ca358f5250..17be930a28 100644
--- a/patches/server/0535-Expand-PlayerGameModeChangeEvent.patch
+++ b/patches/server/0535-Expand-PlayerGameModeChangeEvent.patch
@@ -134,10 +134,10 @@ index 5de472df78940d1b8320f73d18b2edf3a796227e..073cf184a0e7af41048ae67a9b17b4cd
}
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 699658bd80eb88907041efb01d31e4051edb91de..58e5acbd00c4f8c0fcafa4f2c21b6a9f4dcc4151 100644
+index 0437a0ab7525671cfae26c5bf981fdecd5da0cc7..f171e4441033ab8d81b45e8c1fd7a0d6ca89e268 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -2732,7 +2732,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
+@@ -2728,7 +2728,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
this.player = this.server.getPlayerList().respawn(this.player, false, Entity.RemovalReason.KILLED, RespawnReason.DEATH); // CraftBukkit
if (this.server.isHardcore()) {