aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-22 20:52:38 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-22 20:52:38 +0100
commitd4f80db417aee48acee6e0a4f4b5c33da41baf04 (patch)
tree1f3b19cdfa891a37d3ac2d0402b62d72823f83d8
parent164c98b5103f60b4b2802023735d2ece7670d4f5 (diff)
downloadskyhanni-d4f80db417aee48acee6e0a4f4b5c33da41baf04.tar.gz
skyhanni-d4f80db417aee48acee6e0a4f4b5c33da41baf04.tar.bz2
skyhanni-d4f80db417aee48acee6e0a4f4b5c33da41baf04.zip
fix error, adding chisel item category
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemCategory.kt1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt
index fa69ac79d..58473ca29 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayDisplay.kt
@@ -13,6 +13,7 @@ import at.hannibal2.skyhanni.features.garden.GardenPlotAPI.markExpiredSprayAsNot
import at.hannibal2.skyhanni.features.garden.GardenPlotAPI.name
import at.hannibal2.skyhanni.features.garden.GardenPlotAPI.plots
import at.hannibal2.skyhanni.utils.ChatUtils
+import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.RenderUtils.renderString
import at.hannibal2.skyhanni.utils.StringUtils.createCommaSeparatedList
import at.hannibal2.skyhanni.utils.TimeUtils.format
@@ -44,6 +45,7 @@ class SprayDisplay {
@SubscribeEvent
fun onJoin(event: IslandChangeEvent) {
+ if (!LorenzUtils.inSkyBlock) return
if (!config.expiryNotification || event.newIsland != IslandType.GARDEN) return
sendExpiredPlotsToChat(true)
}
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemCategory.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemCategory.kt
index 4a16585f1..e0e17e064 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemCategory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemCategory.kt
@@ -50,6 +50,7 @@ enum class ItemCategory {
MEMENTO,
PORTAL,
SACK,
+ CHISEL,
NONE,
;