forked from MagicBane/Server
invisible cities on map logging
This commit is contained in:
@@ -295,7 +295,11 @@ public class City extends AbstractWorldObject {
|
|||||||
else
|
else
|
||||||
writer.putString(rulingNation.getName());
|
writer.putString(rulingNation.getName());
|
||||||
|
|
||||||
writer.putInt(city.getTOL().getRank());
|
if(city.getTOL() != null) {
|
||||||
|
writer.putInt(city.getTOL().getRank());
|
||||||
|
}else{
|
||||||
|
writer.putInt(-1);
|
||||||
|
}
|
||||||
|
|
||||||
if (city.isNoobIsle > 0)
|
if (city.isNoobIsle > 0)
|
||||||
writer.putInt(1);
|
writer.putInt(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user