aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2022-08-05 15:58:34 -0700
committerGitHub <[email protected]>2022-08-05 15:58:34 -0700
commitbef2c9d005bdd039f188ee53094a928e76bd8e59 (patch)
treeb05c9875c61a2e73c32a661d822dbfce3dbbc68b /patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch
parent02831e3369cc9ad76a3add2e4140eb1e6d67cd4f (diff)
downloadPaper-bef2c9d005bdd039f188ee53094a928e76bd8e59.tar.gz
Paper-bef2c9d005bdd039f188ee53094a928e76bd8e59.zip
1.19.2 (#8250)
Diffstat (limited to 'patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch')
-rw-r--r--patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch b/patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch
index 8b76d9753a..bdc36042b9 100644
--- a/patches/server/0630-add-RespawnFlags-to-PlayerRespawnEvent.patch
+++ b/patches/server/0630-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 3d3f7ce2dc77071b191da532f3baa05cac111f60..bcc08fee18c8dbe239ac996293bc8613d75f47da 100644
+index 26c707199cb3c87b3b56c28b2d4a1eaa8dd0b106..9e3c6ff6b7db0c6add4fe76d20fdfaff88239660 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -2893,7 +2893,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
+@@ -2894,7 +2894,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
case PERFORM_RESPAWN:
if (this.player.wonGame) {
this.player.wonGame = false;
@@ -18,7 +18,7 @@ index 3d3f7ce2dc77071b191da532f3baa05cac111f60..bcc08fee18c8dbe239ac996293bc8613
} 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 10cdb5f5a3c7f2fd367f8bcd008433251152ecce..1cac9e3074551567960ae2e991414e62f7e089ee 100644
+index 10b615ad0a038c7237f4664431996774b4e55e2f..63f92d68b91f1049802a1541c7ec4efaa324ac11 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 {