diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 9d9037b1..9bca4b2c 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -703,7 +703,7 @@ public class City extends AbstractWorldObject { 0.0f); this.setBounds(cityBounds); - // Set city motto to current guild motto + // Sanity check; no tol if (BuildingManager.getBuilding(this.treeOfLifeID) == null) Logger.info("City UID " + this.getObjectUUID() + " Failed to Load Tree of Life with ID " + this.treeOfLifeID); @@ -719,6 +719,8 @@ public class City extends AbstractWorldObject { Logger.error("Unable to find realm of ID " + realmID + " for city " + this.getObjectUUID()); } + // Set city motto to current guild motto + if (this.getGuild() != null) { this.motto = this.getGuild().getMotto();