diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java index ad0f94c4d..2f734ba2c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java @@ -112,8 +112,9 @@ public class Mimic extends Mob { } public static Mimic spawnAt( int pos, List items ) { + if (Dungeon.level.pit[pos]) return null; Char ch = Actor.findChar( pos ); - if (ch != null || !Dungeon.level.passable[pos]) { + if (ch != null) { ArrayList candidates = new ArrayList<>(); for (int n : PathFinder.NEIGHBOURS8) { int cell = pos + n;