aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-07-01 08:32:17 +1000
committerGitHub <noreply@github.com>2023-07-01 00:32:17 +0200
commit8667307b1367e3047c854b3a1ed5d1a7c1e879e6 (patch)
tree3835ed18ed3a17e065184c439d97a6e827044a82 /src
parentebb9240c320c007143d338d37a3cb51bf77cac17 (diff)
downloadskyhanni-8667307b1367e3047c854b3a1ed5d1a7c1e879e6.tar.gz
skyhanni-8667307b1367e3047c854b3a1ed5d1a7c1e879e6.tar.bz2
skyhanni-8667307b1367e3047c854b3a1ed5d1a7c1e879e6.zip
fix crash (#274)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/EnigmaSoulWaypoints.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/EnigmaSoulWaypoints.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/EnigmaSoulWaypoints.kt
index 8e2129caf..e43ef03f7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/EnigmaSoulWaypoints.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/EnigmaSoulWaypoints.kt
@@ -93,6 +93,7 @@ object EnigmaSoulWaypoints {
}
}
+ if (event.slot.stack == null) return
val split = event.slot.stack.displayName.split("Enigma: ")
if (split.size == 2) {
event.usePickblockInstead()