[Change] Moved "Survives On" Setting to the client config
This commit is contained in:
parent
f89c305dfe
commit
3e7a2e869d
3 changed files with 11 additions and 11 deletions
|
@ -107,6 +107,11 @@ public class ClientConfig extends NamedPathConfig {
|
|||
"rendering",
|
||||
(config) -> config.get(CUSTOM_FOG_RENDERING)
|
||||
);
|
||||
public static final ConfigToken<Boolean> SURVIES_ON_HINT = ConfigToken.Boolean(
|
||||
true,
|
||||
"survives_on_hint",
|
||||
Configs.MAIN_INFO_CATEGORY
|
||||
);
|
||||
|
||||
|
||||
public ClientConfig() {
|
||||
|
@ -189,4 +194,8 @@ public class ClientConfig extends NamedPathConfig {
|
|||
public void setForceBetterXPreset(boolean v) {
|
||||
set(FORCE_BETTERX_PRESET, v);
|
||||
}
|
||||
|
||||
public boolean survivesOnHint() {
|
||||
return get(ClientConfig.SURVIES_ON_HINT);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue