aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-20 14:07:07 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-20 14:07:07 +0200
commit9ff22629d90c7a11776ee37ba2019c1ff0714043 (patch)
treeaf210c373686f043606bfb02e137038b2556e2b3 /src/main
parent08e0fbdc40b291e4da4fd3820dbe1ea8e7f69b01 (diff)
downloadskyhanni-9ff22629d90c7a11776ee37ba2019c1ff0714043.tar.gz
skyhanni-9ff22629d90c7a11776ee37ba2019c1ff0714043.tar.bz2
skyhanni-9ff22629d90c7a11776ee37ba2019c1ff0714043.zip
Added loggers for garden visitor detections
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
index d85136ffc..17adc4f2c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
@@ -400,7 +400,7 @@ class GardenVisitorFeatures {
val time = System.currentTimeMillis() - SBInfo.getInstance().joinedWorld
val removed = it !in visitorsInTab && time > 2_000
if (removed) {
- logger.log("Removed old visitor: $it")
+ logger.log("Removed old visitor: '$it'")
}
removed
}) {
@@ -409,7 +409,7 @@ class GardenVisitorFeatures {
for (name in visitorsInTab) {
if (!visitors.containsKey(name)) {
visitors[name] = Visitor(name, status = VisitorStatus.NEW)
- logger.log("New visitor detected: $name")
+ logger.log("New visitor detected: '$name'")
if (config.visitorNotificationTitle) {
TitleUtils.sendTitle("§eNew Visitor", 5_000)
}
@@ -494,7 +494,7 @@ class GardenVisitorFeatures {
if (old == newStatus) return
visitor.status = newStatus
val name = visitor.visitorName.removeColor()
- logger.log("Visitor status change for $name: $old->$newStatus ($reason)")
+ logger.log("Visitor status change for '$name': $old -> $newStatus ($reason)")
}
private fun findEntity(nameTag: EntityArmorStand, visitor: Visitor) {