From de15c129f5d7ec6823d9e2a1c93bcbfd4fee73fb Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 12 Apr 2024 08:24:27 +0200 Subject: code cleanup --- .../java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt | 2 +- .../features/garden/inventory/plots/GardenPlotMenuHighlighting.kt | 2 +- .../java/at/hannibal2/skyhanni/features/misc/SuperpairsClicksAlert.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt index 91759f003..c1a8a603f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt @@ -40,7 +40,7 @@ class BingoCardReader { ) @SubscribeEvent - fun onInventoryOpen(event: InventoryUpdatedEvent) { + fun onInventoryUpdated(event: InventoryUpdatedEvent) { if (!config.enabled) return if (event.inventoryName != "Bingo Card") return diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/plots/GardenPlotMenuHighlighting.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/plots/GardenPlotMenuHighlighting.kt index bb658676a..6cc02cf1b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/plots/GardenPlotMenuHighlighting.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/plots/GardenPlotMenuHighlighting.kt @@ -20,7 +20,7 @@ class GardenPlotMenuHighlighting { private var highlightedPlots = mutableMapOf() @SubscribeEvent - fun onInventoryUpdate(event: InventoryUpdatedEvent) { + fun onInventoryUpdated(event: InventoryUpdatedEvent) { if (!isEnabled()) return for (slot in InventoryUtils.getItemsInOpenChest()) { diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/SuperpairsClicksAlert.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/SuperpairsClicksAlert.kt index 231bbaf3d..b09a1dbff 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/SuperpairsClicksAlert.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/SuperpairsClicksAlert.kt @@ -38,7 +38,7 @@ class SuperpairsClicksAlert { } @SubscribeEvent - fun onInventoryUpdate(event: InventoryUpdatedEvent) { + fun onInventoryUpdated(event: InventoryUpdatedEvent) { if (!config.superpairsClicksAlert) return if (roundsNeeded == -1) return if (!targetInventoryNames.any { event.inventoryName.contains(it) }) return -- cgit