summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt8
2 files changed, 0 insertions, 10 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 6c284f255..9cb8210c1 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
@@ -24,8 +24,6 @@ class GriffinBurrowHelper {
@SubscribeEvent
fun onSoopyGuessBurrow(event: SoopyGuessBurrowEvent) {
-// if (!SkyHanniMod.feature.diana.burrowsSoopyGuess) return
-
if (SkyHanniMod.feature.diana.burrowsSoopyGuess) {
if (guessLocation == null) {
animationLocation = lastDug ?: LocationUtils.playerLocation()
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt
index 467cc9f81..177f16db2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/SoopyGuessBurrow.kt
@@ -158,14 +158,6 @@ class SoopyGuessBurrow {
atan((a.x - b.x) / (a.z - b.z))
}
-// val slopeThing = mutableListOf<Double>()
-// for ((index, current) in locs.withIndex()) {
-// if (index != 0) {
-// val last = locs[index - 1]
-// slopeThing.add(atan((current.x - last.x) / (current.z - last.z)))
-// }
-// }
-
val (a, b, c) = solveEquationThing(
LorenzVec(slopeThing.size - 5, slopeThing.size - 3, slopeThing.size - 1), LorenzVec(
slopeThing[slopeThing.size - 5],