diff options
Diffstat (limited to 'src/main/java/org/bukkit/craftbukkit/entity/CraftProjectile.java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftProjectile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftProjectile.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftProjectile.java index cd5e5932..b60d97b1 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftProjectile.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftProjectile.java @@ -12,7 +12,7 @@ public abstract class CraftProjectile extends AbstractProjectile implements Proj } public LivingEntity getShooter() { - if (getHandle().getShooter() instanceof EntityLiving) { + if (getHandle().getShooter() != null) { return (LivingEntity) getHandle().getShooter().getBukkitEntity(); } |