aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-24 00:40:10 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-24 00:40:10 +0100
commit65b76e59d80f290c0b398830dc1cdd02a48b44f4 (patch)
treea26eed97246243f42487461afa4707784e02e4eb /src/main/java/at/hannibal2
parentf093523b7cc083c70d8060df3614db6145e75a16 (diff)
downloadskyhanni-65b76e59d80f290c0b398830dc1cdd02a48b44f4.tar.gz
skyhanni-65b76e59d80f290c0b398830dc1cdd02a48b44f4.tar.bz2
skyhanni-65b76e59d80f290c0b398830dc1cdd02a48b44f4.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
index 28261296d..d4f36c1c2 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -215,7 +215,7 @@ object Commands {
registerCommand(
"shresetvisitordrops",
"Reset the Visitors Drop Statistics"
- ) { GardenVisitorDropStatistics.reset() }
+ ) { GardenVisitorDropStatistics.resetCommand() }
registerCommand("shbingotoggle", "Toggle the bingo card display mode") { BingoCardDisplay.toggleCommand() }
registerCommand(
"shfarmingprofile",
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
index 3f9fc83b1..806f86175 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
@@ -234,7 +234,7 @@ object GardenVisitorDropStatistics {
display = formatDisplay(drawDisplay(storage))
}
- fun reset() {
+ fun resetCommand() {
val storage = GardenAPI.storage?.visitorDrops ?: return
ChatUtils.clickableChat("Click here to reset Visitor Drops Statistics.", onClick = {
acceptedVisitors = 0