diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 58fa11df..f52389af 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -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 { 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 { 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) {