Browse Source

Update to console output

bane-update2
MagicBot 3 months ago
parent
commit
93befc0887
  1. 4
      src/engine/objects/City.java
  2. 4
      src/engine/workthreads/DestroyCityThread.java

4
src/engine/objects/City.java

@ -1104,7 +1104,7 @@ public class City extends AbstractWorldObject { @@ -1104,7 +1104,7 @@ public class City extends AbstractWorldObject {
Thread destroyCityThread = new Thread(new DestroyCityThread(this));
destroyCityThread.setName("destroyCity:" + this.getName());
destroyCityThread.setName("destroyCity:" + this.getParent().zoneName);
destroyCityThread.start();
}
@ -1112,7 +1112,7 @@ public class City extends AbstractWorldObject { @@ -1112,7 +1112,7 @@ public class City extends AbstractWorldObject {
Thread transferCityThread = new Thread(new TransferCityThread(this, newOwner));
transferCityThread.setName("TransferCity:" + this.getName());
transferCityThread.setName("TransferCity:" + this.getParent().zoneName));
transferCityThread.start();
}

4
src/engine/workthreads/DestroyCityThread.java

@ -58,7 +58,7 @@ public class DestroyCityThread implements Runnable { @@ -58,7 +58,7 @@ public class DestroyCityThread implements Runnable {
newParent = cityZone.parent;
formerGuild = city.getTOL().getGuild();
Logger.info("Destroy city thread started for: " + newParent.zoneName);
Logger.info("Destroy city thread started for: " + cityZone.zoneName);
// Former guild loses tree!
@ -164,6 +164,6 @@ public class DestroyCityThread implements Runnable { @@ -164,6 +164,6 @@ public class DestroyCityThread implements Runnable {
// Zone and city should vanish upon next reboot
// if the codebase reaches here.
Logger.info(city.getParent().zoneName + " uuid:" + city.getObjectUUID() + "has been destroyed!");
Logger.info(city.getParent().zoneName + " uuid: " + city.getObjectUUID() + " has been destroyed!");
}
}

Loading…
Cancel
Save