|
|
|
@ -237,6 +237,7 @@ public class City extends AbstractWorldObject {
@@ -237,6 +237,7 @@ public class City extends AbstractWorldObject {
|
|
|
|
|
writer.putInt(rulingGuild.getObjectUUID()); |
|
|
|
|
|
|
|
|
|
writer.putString(rulingGuild.getName()); |
|
|
|
|
try { |
|
|
|
|
if (city.getBane() != null) { |
|
|
|
|
Bane bane = city.getBane(); |
|
|
|
|
if (bane.daySet && bane.timeSet && bane.getLiveDate() != null) { |
|
|
|
@ -251,6 +252,9 @@ public class City extends AbstractWorldObject {
@@ -251,6 +252,9 @@ public class City extends AbstractWorldObject {
|
|
|
|
|
} else { |
|
|
|
|
writer.putString(city.motto); |
|
|
|
|
} |
|
|
|
|
}catch(Exception e){ |
|
|
|
|
writer.putString(city.motto); |
|
|
|
|
} |
|
|
|
|
writer.putString(rulingGuild.getLeadershipType()); |
|
|
|
|
|
|
|
|
|
// Serialize guild ruler's name
|
|
|
|
|