aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/nether
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-21 11:16:34 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-21 11:16:34 +0200
commit830fdb7022ac173b421daeddfbc7e67c0d9f891b (patch)
treea9e4397add1cc121e9cea0a35500de5ccd66f5a9 /src/main/java/at/hannibal2/skyhanni/features/nether
parent020c278b3c6cdff38449e0fe67bb36bf196ed045 (diff)
downloadskyhanni-830fdb7022ac173b421daeddfbc7e67c0d9f891b.tar.gz
skyhanni-830fdb7022ac173b421daeddfbc7e67c0d9f891b.tar.bz2
skyhanni-830fdb7022ac173b421daeddfbc7e67c0d9f891b.zip
better repo error handling
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/nether')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt
index 5906d136a..9202be686 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/CrimsonIsleReputationHelper.kt
@@ -42,7 +42,7 @@ class CrimsonIsleReputationHelper(skyHanniMod: SkyHanniMod) {
@SubscribeEvent
fun onRepoReload(event: RepositoryReloadEvent) {
- repoData = event.getConstant("CrimsonIsleReputation") ?: return
+ repoData = event.getConstant("CrimsonIsleReputation")
tryLoadConfig()
update()
@@ -165,4 +165,4 @@ class CrimsonIsleReputationHelper(skyHanniMod: SkyHanniMod) {
1 -> config.hotkey.isKeyHeld()
else -> false
}
-} \ No newline at end of file
+}