Browse Source

invisible cities on map logging

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

11
src/engine/objects/City.java

@ -199,7 +199,6 @@ public class City extends AbstractWorldObject { @@ -199,7 +199,6 @@ public class City extends AbstractWorldObject {
}
public static void serializeForClientMsg(City city, ByteBufferWriter writer) {
try {
AbstractCharacter guildRuler;
Guild rulingGuild;
Guild rulingNation;
@ -316,13 +315,6 @@ public class City extends AbstractWorldObject { @@ -316,13 +315,6 @@ public class City extends AbstractWorldObject {
writer.putLocalDateTime(city.established);
// writer.put((byte) city.established.getDayOfMonth());
// writer.put((byte) city.established.minusMonths(1).getMonth().getValue());
// writer.putInt((int) years);
// writer.put((byte) hours);
// writer.put((byte) minutes);
// writer.put((byte) seconds);
writer.putFloat(city.location.x);
writer.putFloat(city.location.y);
writer.putFloat(city.location.z);
@ -333,9 +325,6 @@ public class City extends AbstractWorldObject { @@ -333,9 +325,6 @@ 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