v2.2.1: fixed locked chests rarely spawning on caves quest entrance
This commit is contained in:
+9
@@ -105,6 +105,15 @@ public class BlacksmithRoom extends StandardRoom {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canPlaceCharacter(Point p, Level l) {
|
||||||
|
if (l.map[l.pointToCell(p)] == Terrain.EXIT){
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
return super.canPlaceCharacter(p, l);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static class QuestEntrance extends CustomTilemap {
|
public static class QuestEntrance extends CustomTilemap {
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user