Browse Source

Comment cleanup

magicbox-1.5.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 { @@ -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 { @@ -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();

Loading…
Cancel
Save