aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-12 08:24:27 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-12 08:24:27 +0200
commitde15c129f5d7ec6823d9e2a1c93bcbfd4fee73fb (patch)
tree51d5be36da7dd7e2d420b606507732bc76dcc7e1 /src/main/java
parentc52e49c3be13630c872bcb4d2beac13959fbe557 (diff)
downloadskyhanni-de15c129f5d7ec6823d9e2a1c93bcbfd4fee73fb.tar.gz
skyhanni-de15c129f5d7ec6823d9e2a1c93bcbfd4fee73fb.tar.bz2
skyhanni-de15c129f5d7ec6823d9e2a1c93bcbfd4fee73fb.zip
code cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/plots/GardenPlotMenuHighlighting.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/SuperpairsClicksAlert.kt2
3 files changed, 3 insertions, 3 deletions
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<GardenPlotAPI.Plot, PlotStatusType>()
@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