diff options
author | TotalledZebra <[email protected]> | 2024-05-30 23:31:45 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-30 22:31:45 +0200 |
commit | 3181470ad7d372d2a799c3dcdb61e9392969abe4 (patch) | |
tree | 2c14a8d935b793dd89b1657fb48480b70e62d8c5 /patches/server/0788-ItemStack-damage-API.patch | |
parent | a47e11d464d84aca537687748aafe32c08567801 (diff) | |
download | Paper-3181470ad7d372d2a799c3dcdb61e9392969abe4.tar.gz Paper-3181470ad7d372d2a799c3dcdb61e9392969abe4.zip |
Add entity heal API (#10267)
Diffstat (limited to 'patches/server/0788-ItemStack-damage-API.patch')
-rw-r--r-- | patches/server/0788-ItemStack-damage-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0788-ItemStack-damage-API.patch b/patches/server/0788-ItemStack-damage-API.patch index fc693daf07..b6c586f282 100644 --- a/patches/server/0788-ItemStack-damage-API.patch +++ b/patches/server/0788-ItemStack-damage-API.patch @@ -11,10 +11,10 @@ the logic associated with damaging them public net.minecraft.world.entity.LivingEntity entityEventForEquipmentBreak(Lnet/minecraft/world/entity/EquipmentSlot;)B diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -index bd2287ca5d47d5fa2cae95c43d7e4ea5d74cf39c..350ec6c4af1dc8c559d5987d011049f14b85bd06 100644 +index 2537d4d4ec1243f3b80ec13a6b863ec6de619919..f866a3c2f5ec5954bab9de5f8d3e2a8c55824805 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -@@ -1096,4 +1096,48 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { +@@ -1103,4 +1103,48 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { this.getHandle().knockback(strength, directionX, directionZ); }; // Paper end - knockback API |