diff options
Diffstat (limited to 'patches/server/0797-Add-player-health-update-API.patch')
-rw-r--r-- | patches/server/0797-Add-player-health-update-API.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0797-Add-player-health-update-API.patch b/patches/server/0797-Add-player-health-update-API.patch index da94ae0e7a..96480e59ca 100644 --- a/patches/server/0797-Add-player-health-update-API.patch +++ b/patches/server/0797-Add-player-health-update-API.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add player health update API diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 55f4a09bc27c30936e29fa2a2fe2ef0a67b8876d..67833efdd2c4babe20a01691a44ec6f153656729 100644 +index 5cdb599c6e460672ed0fe15d5c2a9d60ad22c2e3..8882651847fc9a8d2e4222f10eb389b553da48ca 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -@@ -2152,9 +2152,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player { +@@ -2142,9 +2142,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player { this.getHandle().maxHealthCache = getMaxHealth(); } @@ -22,7 +22,7 @@ index 55f4a09bc27c30936e29fa2a2fe2ef0a67b8876d..67833efdd2c4babe20a01691a44ec6f1 if (this.getHandle().queueHealthUpdatePacket) { this.getHandle().queuedHealthUpdatePacket = packet; } else { -@@ -2162,7 +2164,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player { +@@ -2152,7 +2154,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player { } // Paper end } |