Merge remote-tracking branch 'origin/1.16' into 1.18
This commit is contained in:
commit
6c82d448f7
|
|
@ -33,10 +33,9 @@ public class MinecraftMixin {
|
|||
return;
|
||||
ModernFix.LOGGER.info("Replacing search trees with '{}' provider", provider.getName());
|
||||
mfix$runItemFillingQuirk();
|
||||
var mainTree = provider.getSearchTree(false);
|
||||
this.searchRegistry.register(SearchRegistry.CREATIVE_NAMES, mainTree);
|
||||
this.searchRegistry.register(SearchRegistry.CREATIVE_NAMES, provider.getSearchTree(false));
|
||||
this.searchRegistry.register(SearchRegistry.CREATIVE_TAGS, provider.getSearchTree(true));
|
||||
this.searchRegistry.register(SearchRegistry.RECIPE_COLLECTIONS, new RecipeBookSearchTree(mainTree));
|
||||
this.searchRegistry.register(SearchRegistry.RECIPE_COLLECTIONS, new RecipeBookSearchTree(provider.getSearchTree(false)));
|
||||
// grab components for all key mappings in order to prevent them from being loaded off-thread later
|
||||
// this populates the LazyLoadedValues
|
||||
// we also need to suppress GLFW errors to prevent crashes if a key is missing
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user