diff --git a/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java index 42adede0..addb0236 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/mob/SombraEntity.java @@ -403,7 +403,7 @@ public class SombraEntity extends HostileEntity implements ArenaCombatant, Parti target.addStatusEffect(new StatusEffectInstance(StatusEffects.DARKNESS, 26, 0, true, false)); } - if (getTarget() == null && target instanceof PlayerEntity player && player.distanceTo(this) < getAreaRadius() / 2F) { + if (getTarget() == null && target.distanceTo(this) < getAreaRadius() / 2F) { if (teleportTo(target.getPos())) { setPosition(getPos().add(0, 4, 0)); }