Add config for integrated server watchdog
This commit is contained in:
parent
3ba38b602a
commit
65e12016b6
|
|
@ -173,6 +173,8 @@ public class ModernFixClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onServerStarted(MinecraftServer server) {
|
public void onServerStarted(MinecraftServer server) {
|
||||||
|
if(!ModernFixMixinPlugin.instance.isOptionEnabled("feature.integrated_server_watchdog.IntegratedWatchdog"))
|
||||||
|
return;
|
||||||
IntegratedWatchdog watchdog = new IntegratedWatchdog(server);
|
IntegratedWatchdog watchdog = new IntegratedWatchdog(server);
|
||||||
watchdog.start();
|
watchdog.start();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,7 @@ public class ModernFixEarlyConfig {
|
||||||
.put("mixin.perf.compress_blockstate", false)
|
.put("mixin.perf.compress_blockstate", false)
|
||||||
.put("mixin.bugfix.packet_leak", false)
|
.put("mixin.bugfix.packet_leak", false)
|
||||||
.put("mixin.perf.deduplicate_location", false)
|
.put("mixin.perf.deduplicate_location", false)
|
||||||
|
.put("mixin.feature.integrated_server_watchdog", true)
|
||||||
.put("mixin.perf.blast_search_trees", shouldReplaceSearchTrees)
|
.put("mixin.perf.blast_search_trees", shouldReplaceSearchTrees)
|
||||||
.put("mixin.devenv", isDevEnv)
|
.put("mixin.devenv", isDevEnv)
|
||||||
.put("mixin.perf.remove_spawn_chunks", isDevEnv)
|
.put("mixin.perf.remove_spawn_chunks", isDevEnv)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user