Move stalled async chunk load detection to its own config

This seems to sometimes be a hotspot in profiling, and the log
message is not commonly reported nowadays, indicating most mods
have probably fixed their code.
This commit is contained in:
embeddedt 2024-03-17 15:06:58 -04:00
parent e6bb67cb05
commit d854fcffff
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
package org.embeddedt.modernfix.common.mixin.bugfix.chunk_deadlock;
package org.embeddedt.modernfix.common.mixin.feature.stalled_chunk_load_detection;
import com.mojang.datafixers.util.Either;
import net.minecraft.server.level.ChunkHolder;

View File

@ -169,6 +169,7 @@ public class ModernFixEarlyConfig {
.putConditionally(() -> !isFabric, "mixin.perf.async_jei", false)
.put("mixin.perf.reuse_datapacks", false)
.put("mixin.feature.direct_stack_trace", false)
.put("mixin.feature.stalled_chunk_load_detection", false)
.put("mixin.perf.clear_mixin_classinfo", false)
.put("mixin.bugfix.packet_leak", false)
.put("mixin.perf.deduplicate_location", false)