Update City.java

This commit is contained in:
vshcherb 2015-08-04 11:57:28 +02:00
parent 93b1311647
commit acb3b5eae0

View file

@ -33,6 +33,9 @@ public class City extends MapObject {
if (place == null) {
return null;
}
if("township".equals(place)) {
return CityType.TOWN;
}
for (CityType t : CityType.values()) {
if (t.name().equalsIgnoreCase(place)) {
return t;