aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-02-05 11:51:02 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-02-05 11:51:02 +0100
commit426fb7ed6d266f14ff98c61c5346955b5b3fdc3b (patch)
treef2bb242705f6dcca400a45e815ea98d8c0bb87c8 /src/main
parent5bc87085703fd73ef4de653b0e16363de459ef80 (diff)
downloadskyhanni-426fb7ed6d266f14ff98c61c5346955b5b3fdc3b.tar.gz
skyhanni-426fb7ed6d266f14ff98c61c5346955b5b3fdc3b.tar.bz2
skyhanni-426fb7ed6d266f14ff98c61c5346955b5b3fdc3b.zip
Show error message when DeepCavernsParkour repo is missing
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt
index 0c08c8b17..18bffb4a4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/DeepCavernsParkour.kt
@@ -100,6 +100,13 @@ class DeepCavernsParkour {
private fun start() {
show = true
parkourHelper?.reset()
+ if (parkourHelper == null) {
+ LorenzUtils.clickableChat(
+ "DeepCavernsParkour missing in SkyHanni Repo! Try /shupdaterepo to fix it!",
+ "shupdaterepo",
+ prefixColor = "§c"
+ )
+ }
}
@SubscribeEvent