Log when clone timer is scheduled, so it's possible to see whether it happened or not in the server logs

This commit is contained in:
Ziggy
2024-07-01 13:39:52 +02:00
parent 2183ca3001
commit db261886bd

View File

@@ -148,6 +148,8 @@ class CloningService : Service() {
synchronized(reviveTimers) {
reviveTimers.put(corpse, executor.execute(TimeUnit.MINUTES.toMillis(CLONE_TIMER)) { expireCloneTimer(corpse, availableFacilities, cloningWindow) })
}
StandardLog.onPlayerEvent(this, corpse, "has %d minutes to clone", CLONE_TIMER)
}
private fun showSuiWindow(corpse: CreatureObject) {