Browse Source

realm date time console spam fix

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
4b67cbef38
  1. 3
      src/engine/objects/Realm.java

3
src/engine/objects/Realm.java

@ -316,7 +316,10 @@ public class Realm { @@ -316,7 +316,10 @@ public class Realm {
writer.putInt(Enum.GameObjectType.City.ordinal());
writer.putInt(rulingCityUUID);
if(this.ruledSince != null)
writer.putLocalDateTime(this.ruledSince);
else
writer.putLocalDateTime(LocalDateTime.now().withMonth(1).withDayOfMonth(1).withHour(0).withMinute(0).withSecond(0));
writer.putString(rulingNationName);
GuildTag._serializeForDisplay(rulingNationTags, writer);

Loading…
Cancel
Save