Update to console output
This commit is contained in:
@@ -1104,7 +1104,7 @@ public class City extends AbstractWorldObject {
|
|||||||
|
|
||||||
Thread destroyCityThread = new Thread(new DestroyCityThread(this));
|
Thread destroyCityThread = new Thread(new DestroyCityThread(this));
|
||||||
|
|
||||||
destroyCityThread.setName("destroyCity:" + this.getName());
|
destroyCityThread.setName("destroyCity:" + this.getParent().zoneName);
|
||||||
destroyCityThread.start();
|
destroyCityThread.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1112,7 +1112,7 @@ public class City extends AbstractWorldObject {
|
|||||||
|
|
||||||
Thread transferCityThread = new Thread(new TransferCityThread(this, newOwner));
|
Thread transferCityThread = new Thread(new TransferCityThread(this, newOwner));
|
||||||
|
|
||||||
transferCityThread.setName("TransferCity:" + this.getName());
|
transferCityThread.setName("TransferCity:" + this.getParent().zoneName));
|
||||||
transferCityThread.start();
|
transferCityThread.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class DestroyCityThread implements Runnable {
|
|||||||
newParent = cityZone.parent;
|
newParent = cityZone.parent;
|
||||||
formerGuild = city.getTOL().getGuild();
|
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!
|
// Former guild loses tree!
|
||||||
|
|
||||||
@@ -164,6 +164,6 @@ public class DestroyCityThread implements Runnable {
|
|||||||
// Zone and city should vanish upon next reboot
|
// Zone and city should vanish upon next reboot
|
||||||
// if the codebase reaches here.
|
// 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!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user