aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/DungeonLeap.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-03-25 04:36:31 -0500
committeringlettronald <inglettronald@gmail.com>2023-03-25 04:36:31 -0500
commit43d07fc791e63bba61695e0d4b766b78eb699132 (patch)
tree69111eb055f0e68fdf388046fb0812f4f3f2f004 /src/main/kotlin/dulkirmod/features/DungeonLeap.kt
parent71af70d22e9a55a58c36642a745e81aa91851375 (diff)
downloadDulkirMod-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/DungeonLeap.kt')
-rw-r--r--src/main/kotlin/dulkirmod/features/DungeonLeap.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/dulkirmod/features/DungeonLeap.kt b/src/main/kotlin/dulkirmod/features/DungeonLeap.kt
index bfbfe50..5185516 100644
--- a/src/main/kotlin/dulkirmod/features/DungeonLeap.kt
+++ b/src/main/kotlin/dulkirmod/features/DungeonLeap.kt
@@ -1,7 +1,7 @@
package dulkirmod.features
import dulkirmod.DulkirMod.Companion.mc
-import dulkirmod.config.Config
+import dulkirmod.config.DulkirConfig
import dulkirmod.utils.ContainerNameUtil
import dulkirmod.utils.Utils
import net.minecraft.client.gui.inventory.GuiChest
@@ -19,7 +19,7 @@ object DungeonLeap {
fun onTick(event: TickEvent.ClientTickEvent) {
val lastInLeap = inLeapMenu
- if (!Config.highlightLeap) return
+ if (!DulkirConfig.highlightLeap) return
if (mc.currentScreen == null || mc.currentScreen !is GuiChest) {
inLeapMenu = false
return
@@ -37,7 +37,7 @@ object DungeonLeap {
if (slotIn.stack == null) continue
val stack = slotIn.stack
- if (Utils.stripColorCodes(stack.displayName).equals(Config.highlightLeapName, true)) {
+ if (Utils.stripColorCodes(stack.displayName).equals(DulkirConfig.highlightLeapName, true)) {
leapPlayers[i - 11] = true
}
}