Bug fix for that wilderness painting on dynmap.

This commit is contained in:
Olof Larsson 2012-07-19 02:56:05 +02:00
parent 17e0701ecb
commit a380b86a71

View File

@ -39,7 +39,9 @@ public class Board
public static TerritoryAccess getTerritoryAccessAt(FLocation flocation) public static TerritoryAccess getTerritoryAccessAt(FLocation flocation)
{ {
if ( ! flocationIds.containsKey(flocation)) if ( ! flocationIds.containsKey(flocation))
flocationIds.put(flocation, new TerritoryAccess("0")); {
return new TerritoryAccess("0");
}
return flocationIds.get(flocation); return flocationIds.get(flocation);
} }