Skip to content

Commit

Permalink
created default location to consider chests in the corridor
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoFar78 committed May 3, 2024
1 parent 842348f commit a2baa47
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public PrisonBuilding(PrisonEscapeLocation reference) {
_chests = new Hashtable<>();
for (PrisonEscapeLocation loc : config.getChestsLocations()) {
String regionName = getRegionName(loc);
if (regionName == null) {
regionName = "Default";
}
_chests.put(loc.add(reference).createKey(), new Chest(regionName));
}

Expand Down

0 comments on commit a2baa47

Please sign in to comment.