aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-08 00:32:50 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-08 00:32:50 +0200
commit2ac1f3d037fee016063cd7bc499d4abcfeb765d5 (patch)
tree2bd1b280b26c082702301bf9f981c2c54eacdc12 /src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt
parent438913125287404a4ca7fd1564c8b2d811720adb (diff)
downloadskyhanni-2ac1f3d037fee016063cd7bc499d4abcfeb765d5.tar.gz
skyhanni-2ac1f3d037fee016063cd7bc499d4abcfeb765d5.tar.bz2
skyhanni-2ac1f3d037fee016063cd7bc499d4abcfeb765d5.zip
code cleanup config
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt
index d1b84f09c..37c2920a5 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigGuiManager.kt
@@ -5,13 +5,13 @@ import io.github.moulberry.moulconfig.gui.GuiScreenElementWrapper
import io.github.moulberry.moulconfig.gui.MoulConfigEditor
object ConfigGuiManager {
- val configEditor by lazy { MoulConfigEditor(SkyHanniMod.configManager.processor) }
+ val editor by lazy { MoulConfigEditor(SkyHanniMod.configManager.processor) }
fun openConfigGui(search: String? = null) {
if (search != null) {
- configEditor.search(search)
+ editor.search(search)
}
- SkyHanniMod.screenToOpen = GuiScreenElementWrapper(configEditor)
+ SkyHanniMod.screenToOpen = GuiScreenElementWrapper(editor)
}