From 9392ceda61f58d149bf368a82b7cbcd401012dae Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 17 Oct 2023 17:07:52 -0400 Subject: [PATCH] Comment cleanup --- src/engine/objects/City.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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();