v0.8.2: fixed crashes caused by wandmaker spawning logic checking traps

This commit is contained in:
Evan Debenham 2020-08-05 18:28:08 -04:00
parent 3bc61ac40c
commit 7d36d73377

View File

@ -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);