diff options
author | inglettronald <inglettronald@gmail.com> | 2023-03-25 04:36:31 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-03-25 04:36:31 -0500 |
commit | 43d07fc791e63bba61695e0d4b766b78eb699132 (patch) | |
tree | 69111eb055f0e68fdf388046fb0812f4f3f2f004 /src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt | |
parent | 71af70d22e9a55a58c36642a745e81aa91851375 (diff) | |
download | DulkirMod-43d07fc791e63bba61695e0d4b766b78eb699132.tar.gz DulkirMod-43d07fc791e63bba61695e0d4b766b78eb699132.tar.bz2 DulkirMod-43d07fc791e63bba61695e0d4b766b78eb699132.zip |
Config Syntax Change and switch to oneconfig
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt b/src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt index c65b3dd..a8770c2 100644 --- a/src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt +++ b/src/main/kotlin/dulkirmod/features/KeeperWaypoints.kt @@ -1,7 +1,7 @@ package dulkirmod.features import dulkirmod.DulkirMod.Companion.mc -import dulkirmod.config.Config +import dulkirmod.config.DulkirConfig import dulkirmod.utils.TabListUtils import dulkirmod.utils.Utils import dulkirmod.utils.WorldRenderUtils @@ -13,7 +13,7 @@ import kotlin.math.max object KeeperWaypoints { @SubscribeEvent fun onWorldRenderLast(event: RenderWorldLastEvent) { - if (!Config.keeperWaypoints) return + if (!DulkirConfig.keeperWaypoints) return if (TabListUtils.area != "Spider's Den") return val vec1 = Vec3(-208.5, 44.5, -259.5) @@ -37,7 +37,7 @@ object KeeperWaypoints { val scale8 = max(1f, playerVec.distanceTo(vec8).toFloat()/10f) val scale9 = max(1f, playerVec.distanceTo(vec9).toFloat()/10f) - val color = Utils.getColorString(Config.bestiaryNotifColor) + val color = Utils.getColorString(DulkirConfig.bestiaryNotifColor) WorldRenderUtils.renderString(vec1, "${color}1", false, scale1, true) WorldRenderUtils.renderString(vec2, "${color}2", false, scale2, true) WorldRenderUtils.renderString(vec3, "${color}3", false, scale3, true) |