[Change] Moved "Survives On" Setting to the client config

This commit is contained in:
Frank 2022-10-13 20:25:38 +02:00
parent f89c305dfe
commit 3e7a2e869d
3 changed files with 11 additions and 11 deletions

View file

@ -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);
}
}