aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2022-07-27 19:07:26 -0700
committerGitHub <[email protected]>2022-07-27 19:07:26 -0700
commit4a4ee79cd6a70811e9d62c58abc5f3b6a8627f5c (patch)
tree4341bba04b9f19f67ac7c76dc0c270bf1b189bd4 /patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch
parent71544ab01fbffcd2457deb4ae113cf735f14c0a4 (diff)
downloadPaper-4a4ee79cd6a70811e9d62c58abc5f3b6a8627f5c.tar.gz
Paper-4a4ee79cd6a70811e9d62c58abc5f3b6a8627f5c.zip
Separate out chat and commands sent via API (#8131)
Diffstat (limited to 'patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch')
-rw-r--r--patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch b/patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch
index 90c7c7ea3d..b31b543aa1 100644
--- a/patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch
+++ b/patches/server/0631-add-RespawnFlags-to-PlayerRespawnEvent.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] add RespawnFlags to PlayerRespawnEvent
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 539e98cad4a62c6c838ce6cec1947197878da01b..2278cc53e29f288e157ccb13e1332e63c6fdb939 100644
+index 125cc1951c785fd1a75569f57f779626a1fbe586..035b8a49c3647be3c2e6478767078d6dd14e6208 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -2877,7 +2877,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
+@@ -2876,7 +2876,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
case PERFORM_RESPAWN:
if (this.player.wonGame) {
this.player.wonGame = false;
@@ -18,7 +18,7 @@ index 539e98cad4a62c6c838ce6cec1947197878da01b..2278cc53e29f288e157ccb13e1332e63
} else {
if (this.player.getHealth() > 0.0F) {
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
-index 788a6dae744fd95d11d4f97a2fb0a7f53eed5884..45844d2afd5e5203a85d1419ee0a0d66722e4aed 100644
+index f58f35cdab48066688cf4cf16fc4819229d2191d..bdb37391b9df7ec4983728de8324aa3f1ed20f4b 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
@@ -811,6 +811,12 @@ public abstract class PlayerList {