diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-11 12:22:43 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-11 12:22:43 +0100 |
commit | 149c0b561f88110b4087ec0525784b081ae11215 (patch) | |
tree | c173c8ab2864b46c01f11647f304a13a432daf59 /src/main/java/at/hannibal2 | |
parent | 761788518c4ef295cb9ec108e0bc10af0d7e2d3e (diff) | |
download | skyhanni-149c0b561f88110b4087ec0525784b081ae11215.tar.gz skyhanni-149c0b561f88110b4087ec0525784b081ae11215.tar.bz2 skyhanni-149c0b561f88110b4087ec0525784b081ae11215.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/rift/area/mirrorverse/DanceRoomHelper.kt | 5 |
1 files changed, 2 insertions, 3 deletions
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<DanceRoomInstructionsJson>("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) |