diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-26 17:47:10 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-26 17:47:10 +0100 |
commit | 3392c42bf881c53feb661a998aa4f68bedb448cb (patch) | |
tree | 2da94f9ee1a09bae4e3be66b9c7d55853a4be439 /src | |
parent | c5a0d1daf0138fc1d3ad4c7253d139258edca7d6 (diff) | |
download | skyhanni-3392c42bf881c53feb661a998aa4f68bedb448cb.tar.gz skyhanni-3392c42bf881c53feb661a998aa4f68bedb448cb.tar.bz2 skyhanni-3392c42bf881c53feb661a998aa4f68bedb448cb.zip |
Code cleanup.
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt index 92baf6ee6..a7f46b44d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt @@ -19,7 +19,7 @@ class BazaarBestSellMethod { } @SubscribeEvent - fun onBackgroundDrawn(event: InventoryCloseEvent) { + fun onInventoryClose(event: InventoryCloseEvent) { display = "" } diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt index 596e673db..035753ebd 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt @@ -31,7 +31,7 @@ class GardenVisitorFeatures { } @SubscribeEvent - fun onChatPacket(event: InventoryOpenEvent) { + fun onInventoryOpen(event: InventoryOpenEvent) { inVisitorInventory = false if (!isEnabled()) return diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt index 41dd7da9b..d28d9abe4 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt @@ -27,7 +27,7 @@ class SkyMartBestProfit { private val config get() = SkyHanniMod.feature.garden @SubscribeEvent - fun onChatPacket(event: InventoryOpenEvent) { + fun onInventoryOpen(event: InventoryOpenEvent) { if (!isEnabled()) return val inventory = event.inventory |