aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-11 10:11:44 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-11 10:11:44 +0100
commit4696de53c433cb15bb32b336cafb639961855cf6 (patch)
treeb6e7134b5e25b633a37040ce23b39ebb4f91f09c /src/main/java/at
parent8ee609dbba93a0e2d46b887fa5f605a023dd77f5 (diff)
downloadskyhanni-4696de53c433cb15bb32b336cafb639961855cf6.tar.gz
skyhanni-4696de53c433cb15bb32b336cafb639961855cf6.tar.bz2
skyhanni-4696de53c433cb15bb32b336cafb639961855cf6.zip
Add checks why burrow test command might not work.
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt10
1 files changed, 9 insertions, 1 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 ad9a482bc..16560a103 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
@@ -255,6 +255,15 @@ object GriffinBurrowHelper {
return
}
+ if (!isEnabled()) {
+ if (!config.alwaysDiana) {
+ LorenzUtils.userError("Enable Always Diana in the config!")
+ } else {
+ LorenzUtils.userError("Have an Ancestral Spade in the inventory!")
+ }
+ return
+ }
+
if (strings.size != 1) {
LorenzUtils.userError("/shtestburrow <type>")
return
@@ -276,7 +285,6 @@ object GriffinBurrowHelper {
}
}
-
EntityMovementData.addToTrack(Minecraft.getMinecraft().thePlayer)
val location = LocationUtils.playerLocation().roundLocation()
particleBurrows = particleBurrows.editCopy { this[location] = type }