diff options
author | Bjarne Koll <[email protected]> | 2024-09-21 20:08:31 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-21 20:08:31 +0200 |
commit | 5bcb2ff9e40ec5d95623206cb78705c7eb8552d1 (patch) | |
tree | 64503e16fb2aff76831681268e3101e26147a65d /patches/server/0769-ItemStack-damage-API.patch | |
parent | d61175421d683f400b86a583d195c8da1399d239 (diff) | |
download | Paper-5bcb2ff9e40ec5d95623206cb78705c7eb8552d1.tar.gz Paper-5bcb2ff9e40ec5d95623206cb78705c7eb8552d1.zip |
Correctly launch WindCharges (#11418)
The launch API on LivingEntity only respected the WindCharge type, not
its near-clone BreezeWindCharge.
This commit correctly accounts for BreezeWindCharge in
CraftLivingEntity.
Diffstat (limited to 'patches/server/0769-ItemStack-damage-API.patch')
-rw-r--r-- | patches/server/0769-ItemStack-damage-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0769-ItemStack-damage-API.patch b/patches/server/0769-ItemStack-damage-API.patch index 0764ff724b..0faf3b2da5 100644 --- a/patches/server/0769-ItemStack-damage-API.patch +++ b/patches/server/0769-ItemStack-damage-API.patch @@ -53,10 +53,10 @@ index bee59df6a8f30416f94c1a4fbd5e2629336e842f..e64cc91b416bbbefe6aadf1c6b685346 } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -index 2b53f1daa4f22ee1b52443ae8589c62807d22903..9134ce983f5c798e2925348ac9d3b8570965d415 100644 +index 8babdfe0c6bd921f95cf55313197d576035b0891..f1d2a1610649779da09a76ede7fdfa14658c82ba 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -@@ -1111,4 +1111,48 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { +@@ -1117,4 +1117,48 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { this.getHandle().knockback(strength, directionX, directionZ); }; // Paper end - knockback API |