From 7d7b2aaf85592840da824c6ce29c992cd669c84c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 24 Mar 2023 19:37:10 +0100 Subject: Added support for editing gui elements what are only visible white in an inv --- .../at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/event') diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt index ef1cc5cec..a75060476 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt @@ -18,9 +18,9 @@ class BurrowWarpHelper { private var lastWarp: WarpPoint? = null @SubscribeEvent - fun onKeyBindPressed(event: KeyInputEvent?) { + fun onKeyBindPressed(event: KeyInputEvent) { if (!LorenzUtils.inSkyBlock) return - if(LorenzUtils.skyBlockIsland != IslandType.HUB) return + if (LorenzUtils.skyBlockIsland != IslandType.HUB) return if (!SkyHanniMod.feature.diana.burrowNearestWarp) return if (!Keyboard.getEventKeyState()) return -- cgit