diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 8f674de8..375bd854 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -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 { Thread transferCityThread = new Thread(new TransferCityThread(this, newOwner)); - transferCityThread.setName("TransferCity:" + this.getName()); + transferCityThread.setName("TransferCity:" + this.getParent().zoneName)); transferCityThread.start(); } diff --git a/src/engine/workthreads/DestroyCityThread.java b/src/engine/workthreads/DestroyCityThread.java index 04b38e18..64ef509f 100644 --- a/src/engine/workthreads/DestroyCityThread.java +++ b/src/engine/workthreads/DestroyCityThread.java @@ -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 { // 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!"); } }