Skip to content

Commit

Permalink
Merge 1.18 into 1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed May 12, 2024
2 parents d9a44ee + ad9ce12 commit fdac36d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public DefaultSettingMapBuilder put(String key, Boolean value) {
.put("mixin.perf.dynamic_resources", false)
.put("mixin.feature.direct_stack_trace", false)
.put("mixin.feature.stalled_chunk_load_detection", false)
.put("mixin.perf.blast_search_trees.force", false)
.put("mixin.perf.clear_mixin_classinfo", false)
.put("mixin.perf.deduplicate_climate_parameters", false)
.put("mixin.bugfix.packet_leak", false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import net.minecraft.client.searchtree.RefreshableSearchTree;
import net.minecraft.world.item.ItemStack;
import org.embeddedt.modernfix.core.ModernFixMixinPlugin;
import org.embeddedt.modernfix.core.config.Option;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -16,8 +15,7 @@ public static synchronized Provider getSearchTreeProvider() {
if(p.canUse())
return p;
}
Option option = ModernFixMixinPlugin.instance.config.getEffectiveOptionForMixin("perf.blast_search_trees.Registry");
if(option != null && option.isOverridden())
if(ModernFixMixinPlugin.instance.isOptionEnabled("perf.blast_search_trees.force.Registry"))
return DummySearchTree.PROVIDER;
else
return null;
Expand Down

0 comments on commit fdac36d

Please sign in to comment.