diff --git a/src/main/java/com/minelittlepony/unicopia/entity/mob/IgnominiousBulbEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/mob/IgnominiousBulbEntity.java index 82e99bf7..3da9137c 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/mob/IgnominiousBulbEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/mob/IgnominiousBulbEntity.java @@ -180,8 +180,10 @@ public class IgnominiousBulbEntity extends MobEntity { }); } } + + @Nullable LivingEntity target = getAttacker(); - if (!canTarget(target)) { + if (target == null || !canTarget(target)) { target = null; setAttacker(null); }