summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-03-06 19:44:41 +1100
committerGitHub <noreply@github.com>2024-03-06 09:44:41 +0100
commit30b3b6951ca9a29dd0ba27e0f34efad3b05a4aa4 (patch)
treeaed7083057192eed264f3edc614e5aaae7e2cf28 /src/main/java/at/hannibal2/skyhanni/features/event
parent82a00ed51d55d2be7d65d24c2e93e797cab33864 (diff)
downloadskyhanni-30b3b6951ca9a29dd0ba27e0f34efad3b05a4aa4.tar.gz
skyhanni-30b3b6951ca9a29dd0ba27e0f34efad3b05a4aa4.tar.bz2
skyhanni-30b3b6951ca9a29dd0ba27e0f34efad3b05a4aa4.zip
Backend: Use more isInIsland (#1107)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt
index 819718daf..b4f6050dd 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt
@@ -1,7 +1,6 @@
package at.hannibal2.skyhanni.features.event.diana
import at.hannibal2.skyhanni.SkyHanniMod
-import at.hannibal2.skyhanni.data.IslandType
import at.hannibal2.skyhanni.events.EntityHealthUpdateEvent
import at.hannibal2.skyhanni.events.LorenzChatEvent
import at.hannibal2.skyhanni.events.LorenzKeyPressEvent
@@ -226,7 +225,7 @@ object InquisitorWaypointShare {
@SubscribeEvent(priority = EventPriority.LOW, receiveCanceled = true)
fun onFirstChatEvent(event: PacketEvent.ReceiveEvent) {
- if (!isEnabled() || LorenzUtils.skyBlockIsland != IslandType.HUB) return
+ if (!isEnabled()) return
val packet = event.packet
if (packet !is S02PacketChat) return
val messageComponent = packet.chatComponent