diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
