From 65b76e59d80f290c0b398830dc1cdd02a48b44f4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 24 Mar 2024 00:40:10 +0100 Subject: code cleanup --- src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 2 +- .../skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2') 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 -- cgit