From 8667307b1367e3047c854b3a1ed5d1a7c1e879e6 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 1 Jul 2023 08:32:17 +1000 Subject: fix crash (#274) --- src/main/java/at/hannibal2/skyhanni/features/rift/EnigmaSoulWaypoints.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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() -- cgit