diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java index 1748802db..cc62854cd 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java @@ -102,8 +102,8 @@ public class PhantomPiranha extends Piranha { } if (!outFOVCandidates.isEmpty()){ + if (Dungeon.level.heroFOV[pos]) GLog.i(Messages.get(this, "teleport_away")); ScrollOfTeleportation.appear(this, Random.element(outFOVCandidates)); - GLog.i(Messages.get(this, "teleport_away")); } else if (!inFOVCandidates.isEmpty()){ ScrollOfTeleportation.appear(this, Random.element(inFOVCandidates)); }