Allow server to disable the forced preset override
This commit is contained in:
parent
910314a1e8
commit
e670fea21a
6 changed files with 22 additions and 5 deletions
|
@ -55,6 +55,11 @@ public class ServerConfig extends NamedPathConfig {
|
|||
"excludeMods",
|
||||
AutoSync.SYNC_CATEGORY
|
||||
);
|
||||
public static final ConfigToken<Boolean> FORCE_BETTERX_PRESET = ConfigToken.Boolean(
|
||||
true,
|
||||
"forceBetterXPreset",
|
||||
AutoSync.SYNC_CATEGORY
|
||||
);
|
||||
|
||||
|
||||
public ServerConfig() {
|
||||
|
@ -85,4 +90,8 @@ public class ServerConfig extends NamedPathConfig {
|
|||
return get(SEND_ALL_MOD_INFO) /*&& isAllowingAutoSync()*/;
|
||||
}
|
||||
|
||||
public boolean forceBetterXPreset() {
|
||||
return get(FORCE_BETTERX_PRESET);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue