diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-05 12:25:35 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-05 12:25:35 +0100 |
commit | aae0c39df6c42333d13b4e86e96f7fa58025330d (patch) | |
tree | 5d94a2e96c1d421adfda733a287d39a0a0a49e57 /src/main/java | |
parent | 0f8ba9557a058909b071e1c817f3d94b4066f6f7 (diff) | |
download | skyhanni-aae0c39df6c42333d13b4e86e96f7fa58025330d.tar.gz skyhanni-aae0c39df6c42333d13b4e86e96f7fa58025330d.tar.bz2 skyhanni-aae0c39df6c42333d13b4e86e96f7fa58025330d.zip |
No more griffin burrow errors
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt | 2 |
2 files changed, 1 insertions, 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 } |