From 93befc088787127a59e89759959dc60407a9facd Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 25 Aug 2024 16:13:22 -0400 Subject: [PATCH] Update to console output --- src/engine/objects/City.java | 4 ++-- src/engine/workthreads/DestroyCityThread.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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!"); } }