From 149c0b561f88110b4087ec0525784b081ae11215 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:22:43 +0100 Subject: code cleanup --- .../skyhanni/features/rift/area/mirrorverse/DanceRoomHelper.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/area/mirrorverse/DanceRoomHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/area/mirrorverse/DanceRoomHelper.kt index 8f7457d7c..5118bf25b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/rift/area/mirrorverse/DanceRoomHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/rift/area/mirrorverse/DanceRoomHelper.kt @@ -14,7 +14,6 @@ import at.hannibal2.skyhanni.features.rift.RiftAPI import at.hannibal2.skyhanni.utils.LocationUtils.isPlayerInside import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings import at.hannibal2.skyhanni.utils.StringUtils.firstLetterUppercase -import kotlinx.coroutines.Job import kotlinx.coroutines.delay import kotlinx.coroutines.isActive import kotlinx.coroutines.launch @@ -168,8 +167,8 @@ object DanceRoomHelper { instructions = event.getConstant("DanceRoomInstructions").instructions } - fun start(interval: Long): Job { - return SkyHanniMod.coroutineScope.launch { + fun start(interval: Long) { + SkyHanniMod.coroutineScope.launch { while (isActive && found) { index++ startCountdown(0, 500) -- cgit