diff options
Diffstat (limited to 'patches/server/0807-Add-player-health-update-API.patch')
-rw-r--r-- | patches/server/0807-Add-player-health-update-API.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0807-Add-player-health-update-API.patch b/patches/server/0807-Add-player-health-update-API.patch index c1d62d9038..24160f8b5e 100644 --- a/patches/server/0807-Add-player-health-update-API.patch +++ b/patches/server/0807-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 8ef2f3053c0fde6a11597eefc127c5735c240014..d44df73c2fd4481861cd94d34d91b62b2d2c5718 100644 +index 415bcb2b53e943fefeaa58c49d901b029bfd2049..1c5be0cb22c568aee4fe6a13be591a123de100f5 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -@@ -2128,9 +2128,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player { +@@ -2130,9 +2130,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player { this.getHandle().maxHealthCache = getMaxHealth(); } @@ -22,7 +22,7 @@ index 8ef2f3053c0fde6a11597eefc127c5735c240014..d44df73c2fd4481861cd94d34d91b62b if (this.getHandle().queueHealthUpdatePacket) { this.getHandle().queuedHealthUpdatePacket = packet; } else { -@@ -2138,7 +2140,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player { +@@ -2140,7 +2142,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player { } // Paper end } |