diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-24 00:40:10 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-24 00:40:10 +0100 |
commit | 65b76e59d80f290c0b398830dc1cdd02a48b44f4 (patch) | |
tree | a26eed97246243f42487461afa4707784e02e4eb /src/main/java/at/hannibal2 | |
parent | f093523b7cc083c70d8060df3614db6145e75a16 (diff) | |
download | skyhanni-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.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt | 2 |
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 |