Browse Source

Comment cleanup

combat-2
MagicBot 1 year ago
parent
commit
9392ceda61
  1. 4
      src/engine/objects/City.java

4
src/engine/objects/City.java

@ -703,7 +703,7 @@ public class City extends AbstractWorldObject {
0.0f); 0.0f);
this.setBounds(cityBounds); this.setBounds(cityBounds);
// Set city motto to current guild motto // Sanity check; no tol
if (BuildingManager.getBuilding(this.treeOfLifeID) == null) if (BuildingManager.getBuilding(this.treeOfLifeID) == null)
Logger.info("City UID " + this.getObjectUUID() + " Failed to Load Tree of Life with ID " + this.treeOfLifeID); 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()); Logger.error("Unable to find realm of ID " + realmID + " for city " + this.getObjectUUID());
} }
// Set city motto to current guild motto
if (this.getGuild() != null) { if (this.getGuild() != null) {
this.motto = this.getGuild().getMotto(); this.motto = this.getGuild().getMotto();

Loading…
Cancel
Save