diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt index 0d820f09a..7e9427996 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt @@ -190,19 +190,17 @@ class SkyHanniDebugsAndTests { } } - fun configManagerResetCommand() { + fun resetConfigCommand() { ChatUtils.clickableChat( "§cTHIS WILL RESET YOUR SkyHanni CONFIG! Click here to procceed.", onClick = { - configManagerReset() + resetConfig() }, prefix = false ) } - private fun configManagerReset() { - // TODO make it so that it does not reset the config - + private fun resetConfig() { // saving old config state SkyHanniMod.configManager.saveConfig(ConfigFileType.FEATURES, "reload config manager") SkyHanniMod.configManager.saveConfig(ConfigFileType.SACKS, "reload config manager") |