Browse Source

Update to console output

bane-update2
MagicBot 4 months ago
parent
commit
93befc0887
  1. 4
      src/engine/objects/City.java
  2. 2
      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();
}

2
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!

Loading…
Cancel
Save