diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-30 12:50:31 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-30 12:50:31 +0100 |
commit | b49c4b47c2910ab6ae75b62acf9fcc455d1da501 (patch) | |
tree | 4d0289149e02bf43a1d6704d21b8283c9c74820f /src/main/java/at/hannibal2/skyhanni/data | |
parent | 9e418deb7cb94b048d7bd6d41e85c3d439108698 (diff) | |
download | skyhanni-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.kt | 2 |
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 |