diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityArrow.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityArrow.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java index 6124c651..e968d592 100644 --- a/src/main/java/net/minecraft/server/EntityArrow.java +++ b/src/main/java/net/minecraft/server/EntityArrow.java @@ -201,8 +201,7 @@ public class EntityArrow extends Entity { // CraftBukkit start boolean stick; - if (entity instanceof EntityLiving) { - + if (entity instanceof EntityLiving || entity instanceof EntityComplexPart) { org.bukkit.entity.Entity damagee = movingobjectposition.entity.getBukkitEntity(); Projectile projectile = (Projectile) this.getBukkitEntity(); @@ -218,6 +217,7 @@ public class EntityArrow extends Entity { } else { stick = movingobjectposition.entity.damageEntity(damagesource, l); } + if (stick) { // CraftBukkit end if (movingobjectposition.entity instanceof EntityLiving) { |