|
|
|
@ -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) { |
|
|
|
|