Browse Source

invisible cities on map logging

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
eec5861944
  1. 4
      src/engine/objects/City.java

4
src/engine/objects/City.java

@ -199,6 +199,7 @@ public class City extends AbstractWorldObject { @@ -199,6 +199,7 @@ public class City extends AbstractWorldObject {
}
public static void serializeForClientMsg(City city, ByteBufferWriter writer) {
try {
AbstractCharacter guildRuler;
Guild rulingGuild;
Guild rulingNation;
@ -328,6 +329,9 @@ public class City extends AbstractWorldObject { @@ -328,6 +329,9 @@ public class City extends AbstractWorldObject {
writer.put((byte) 0);
writer.put((byte) 0);
writer.put((byte) 0);
}catch(Exception e){
Logger.error(city.getObjectUUID() + " failed ot serialize because: " + e.getMessage());
}
}
public static Vector3fImmutable getBindLoc(int cityID) {

Loading…
Cancel
Save