Skip to content

Commit b567658

Browse files
committed
Disable async_jei by default, to match newer versions
There have been a couple isolated reports of weird JEI behavior, and this might be why
1 parent 8059fc4 commit b567658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/core/config/ModernFixEarlyConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public DefaultSettingMapBuilder put(String key, Boolean value) {
161161

162162
private static final ImmutableMap<String, Boolean> DEFAULT_SETTING_OVERRIDES = new DefaultSettingMapBuilder()
163163
.put("mixin.perf.dynamic_resources", false)
164+
.putConditionally(() -> !isFabric, "mixin.perf.async_jei", false)
164165
.put("mixin.perf.dynamic_sounds", false)
165166
.put("mixin.perf.reuse_datapacks", false)
166167
.put("mixin.perf.dynamic_block_codecs", false)
@@ -210,7 +211,6 @@ private ModernFixEarlyConfig(File file) {
210211
/* Mod compat */
211212
disableIfModPresent("mixin.perf.thread_priorities", "smoothboot", "threadtweak");
212213
disableIfModPresent("mixin.perf.boost_worker_count", "smoothboot", "threadtweak");
213-
disableIfModPresent("mixin.perf.async_jei", "modernui");
214214
disableIfModPresent("mixin.perf.compress_biome_container", "chocolate", "betterendforge" ,"skyblockbuilder", "modern_beta");
215215
disableIfModPresent("mixin.bugfix.mc218112", "performant");
216216
disableIfModPresent("mixin.bugfix.remove_block_chunkloading", "performant");

0 commit comments

Comments
 (0)