aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-30 12:50:31 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-30 12:50:31 +0100
commitb49c4b47c2910ab6ae75b62acf9fcc455d1da501 (patch)
tree4d0289149e02bf43a1d6704d21b8283c9c74820f /src/main/java/at/hannibal2/skyhanni/data
parent9e418deb7cb94b048d7bd6d41e85c3d439108698 (diff)
downloadskyhanni-b49c4b47c2910ab6ae75b62acf9fcc455d1da501.tar.gz
skyhanni-b49c4b47c2910ab6ae75b62acf9fcc455d1da501.tar.bz2
skyhanni-b49c4b47c2910ab6ae75b62acf9fcc455d1da501.zip
fixed ConcurrentModificationException in DelayedRun
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt
index 56d565299..2ec0ea667 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt
@@ -72,11 +72,11 @@ object MinecraftData {
Minecraft.getMinecraft().thePlayer ?: return
totalTicks++
LorenzTickEvent(totalTicks).postAndCatch()
- DelayedRun.checkRuns()
}
@SubscribeEvent
fun onTick(event: LorenzTickEvent) {
+ DelayedRun.checkRuns()
if (!LorenzUtils.inSkyBlock) return
val hand = InventoryUtils.getItemInHand()
val newItem = hand?.getInternalName() ?: NEUInternalName.NONE