From 3392c42bf881c53feb661a998aa4f68bedb448cb Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 26 Feb 2023 17:47:10 +0100 Subject: Code cleanup. --- .../java/at/hannibal2/skyhanni/features/bazaar/BazaarBestSellMethod.kt | 2 +- .../java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt | 2 +- .../java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit