mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-17 00:35:10 +00:00
added config sync logging settings
This commit is contained in:
8 files changed
+135
-42
No files matched your search
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* This file is part of FalsePatternLib.
|
||||
*
|
||||
* Copyright (C) 2022-2024 FalsePattern
|
||||
* All Rights Reserved
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* FalsePatternLib is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FalsePatternLib is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with FalsePatternLib. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.falsepattern.lib.internal.config;
|
||||
|
||||
import com.falsepattern.lib.config.Config;
|
||||
import com.falsepattern.lib.config.ConfigurationManager;
|
||||
import com.falsepattern.lib.internal.Tags;
|
||||
|
||||
@Config.Comment("Miscellaneous FalsePatternLib settings")
|
||||
@Config.LangKey
|
||||
@Config(modid = Tags.MODID,
|
||||
category = "misc",
|
||||
categoryMigrations = "general")
|
||||
public class MiscConfig {
|
||||
@Config.Comment({"Fixes the mod options menu in-game.",
|
||||
"By default, the mod options when in already in a game will show \"Test1, Test2, DISABLED\" in bright red.",
|
||||
"This replaces that interface with the one from the main menu."})
|
||||
@Config.LangKey
|
||||
@Config.DefaultBoolean(true)
|
||||
@Config.Name(value = "inGameModOptionsFix",
|
||||
migrations = "")
|
||||
public static boolean IN_GAME_MOD_OPTIONS_FIX;
|
||||
|
||||
static {
|
||||
ConfigurationManager.selfInit();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user