summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-05 16:09:43 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-05 16:09:43 +0100
commitd4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9 (patch)
treededbeb3c0ddc551a03da869208d7ffc47952d91e /src/main/java/at/hannibal2/skyhanni/config/commands
parent940095657152c8a0323f1c261c1454b8035bea61 (diff)
downloadskyhanni-d4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9.tar.gz
skyhanni-d4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9.tar.bz2
skyhanni-d4b684fb35fb97fdf7a7548555dc8eb0a9dda2a9.zip
no more hidden stuff: renamed "config" and "hidden" to "storage" when working with stuff from ProfileStorageData
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt6
1 files changed, 3 insertions, 3 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 4a7e6cdcb..cadd9fedc 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -378,10 +378,10 @@ object Commands {
}
private fun clearFarmingItems() {
- val config = GardenAPI.config?.fortune ?: return
+ val storage = GardenAPI.storage?.fortune ?: return
LorenzUtils.chat("§e[SkyHanni] clearing farming items")
- config.farmingItems.clear()
- config.outdatedItems.clear()
+ storage.farmingItems.clear()
+ storage.outdatedItems.clear()
}
private fun registerCommand(name: String, description: String, function: (Array<String>) -> Unit) {