v0.8.2: fixed crashes caused by wandmaker spawning logic checking traps
This commit is contained in:
+1
-1
@@ -292,7 +292,7 @@ public class Wandmaker extends NPC {
|
|||||||
validPos = false;
|
validPos = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Dungeon.level.traps.get(npc.pos) != null){
|
if (level.traps.get(npc.pos) != null){
|
||||||
validPos = false;
|
validPos = false;
|
||||||
}
|
}
|
||||||
} while (!validPos);
|
} while (!validPos);
|
||||||
|
|||||||
Reference in New Issue
Block a user