diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt | 10 |
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 } |