diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Wandmaker.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Wandmaker.java index d60b9a7ee..59f670165 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Wandmaker.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Wandmaker.java @@ -292,7 +292,7 @@ public class Wandmaker extends NPC { validPos = false; } } - if (Dungeon.level.traps.get(npc.pos) != null){ + if (level.traps.get(npc.pos) != null){ validPos = false; } } while (!validPos);