From aae0c39df6c42333d13b4e86e96f7fa58025330d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:25:35 +0100 Subject: No more griffin burrow errors --- .../at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt | 2 +- .../skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt index 722bdcd12..468dadc18 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt @@ -275,7 +275,7 @@ object GriffinBurrowHelper { DelayedRun.runDelayed(1.seconds) { if (BurrowAPI.lastBurrowRelatedChatMessage.passedSince() > 2.seconds) { if (particleBurrows.containsKey(location)) { - LorenzUtils.error("Something unexected happened, deleted the burrow.") + // workaround particleBurrows = particleBurrows.editCopy { keys.remove(location) } } } diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt index f21b808b2..c49f6c551 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt @@ -11,7 +11,6 @@ import at.hannibal2.skyhanni.events.PacketEvent import at.hannibal2.skyhanni.features.event.diana.DianaAPI.isDianaSpade import at.hannibal2.skyhanni.utils.BlockUtils.getBlockAt import at.hannibal2.skyhanni.utils.DelayedRun -import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzVec import at.hannibal2.skyhanni.utils.SimpleTimeMark import at.hannibal2.skyhanni.utils.TimeLimitedSet @@ -169,7 +168,6 @@ class GriffinBurrowParticleFinder { if (location == fakeBurrow) { fakeBurrow = null // This exist to detect the unlucky timing when the user opens a burrow before it gets fully deteced - LorenzUtils.chat("§dYou found a rare burrow bug. SkyHanni can auto fix it, though.") tryDig(location, ignoreFound = true) return } -- cgit