diff options
author | Jake Potrebic <[email protected]> | 2022-08-05 15:58:34 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-05 15:58:34 -0700 |
commit | bef2c9d005bdd039f188ee53094a928e76bd8e59 (patch) | |
tree | b05c9875c61a2e73c32a661d822dbfce3dbbc68b /patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch | |
parent | 02831e3369cc9ad76a3add2e4140eb1e6d67cd4f (diff) | |
download | Paper-bef2c9d005bdd039f188ee53094a928e76bd8e59.tar.gz Paper-bef2c9d005bdd039f188ee53094a928e76bd8e59.zip |
1.19.2 (#8250)
Diffstat (limited to 'patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch')
-rw-r--r-- | patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch b/patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch index 488cc60188..125b9b4301 100644 --- a/patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch +++ b/patches/server/0883-Pass-ServerLevel-for-gamerule-callbacks.patch @@ -18,10 +18,10 @@ index 20670bc075c387ee0422eb1014207e26105efccd..bdd6560fe85950b0a857a949cb38c044 if (dedicatedserverproperties.enableQuery) { diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index b2b4c8369d7a1a4f7939621612c69abdb0e607d8..5226d69712d372eaf2e82dca0d224f9853441687 100644 +index ddc1e2d1d7800cbc846fa1fd6af4feb1dd402f63..79337f4bee57d86653603b4672d45b14fccec5db 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -@@ -3006,7 +3006,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic +@@ -3007,7 +3007,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic this.player = this.server.getPlayerList().respawn(this.player, false); if (this.server.isHardcore()) { this.player.setGameMode(GameType.SPECTATOR, org.bukkit.event.player.PlayerGameModeChangeEvent.Cause.HARDCORE_DEATH, null); // Paper |