v0.8.2: fixed crashes caused by wandmaker spawning logic checking traps
This commit is contained in:
parent
3bc61ac40c
commit
7d36d73377
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user