aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-16 14:31:29 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-16 14:31:29 +0200
commitd09cbd8be5feb14912f7623ca307b2ba4daf902b (patch)
tree1fde9925e9bc94dbee68f38a1427654688de4078 /src/main/java/at/hannibal2/skyhanni/features
parent1fb1be3ea1e6e805f16ab09f5a0d88651c8976c1 (diff)
downloadskyhanni-d09cbd8be5feb14912f7623ca307b2ba4daf902b.tar.gz
skyhanni-d09cbd8be5feb14912f7623ca307b2ba4daf902b.tar.bz2
skyhanni-d09cbd8be5feb14912f7623ca307b2ba4daf902b.zip
creating new crimson isle config and adding gravityOrbs to it
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt
index b9d6e6b7e..98a282218 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/ashfang/AshfangGravityOrbs.kt
@@ -15,7 +15,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import java.awt.Color
class AshfangGravityOrbs {
- private val config get() = SkyHanniMod.feature.ashfang.gravityOrbs
+ private val config get() = SkyHanniMod.feature.crimsonIsle.ashfang.gravityOrbs
private val texture = "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV" +
"0L3RleHR1cmUvMWE2OWNjZjdhZDkwNGM5YTg1MmVhMmZmM2Y1YjRlMjNhZGViZjcyZWQxMmQ1ZjI0Yjc4Y2UyZDQ0YjRhMiJ9fX0="
@@ -58,6 +58,8 @@ class AshfangGravityOrbs {
fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(1, "ashfang.gravityOrbs", "ashfang.gravityOrbs.enabled")
event.move(1, "ashfang.gravityOrbsColor", "ashfang.gravityOrbs.color")
+
+ event.move(2, "ashfang.gravityOrbs", "crimsonIsle.ashfang.gravityOrbs")
}
private fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled &&