Files
FalsePatternLib/src/main/java/com/falsepattern/lib/internal/config/MiscConfig.java
T
2025-05-24 19:29:12 +02:00

47 lines
1.8 KiB
Java

/*
* This file is part of FalsePatternLib.
*
* Copyright (C) 2022-2025 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, only version 3 of the License.
*
* 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();
}
}