diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java index 76d5a4b6..2c2165ce 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java @@ -181,7 +181,7 @@ private void onEntityDamageByBlock(EntityDamageByBlockEvent event) { } private void onEntityDamageByEntity(EntityDamageByEntityEvent event) { - if (event.getCause() == DamageCause.PROJECTILE) { + if (event.getDamager() instanceof Projectile) { onEntityDamageByProjectile(event); return; }