From 7bbef49785f594dfe3d6eac0cfc6ee84841aae80 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sun, 21 Mar 2021 23:29:30 +0800 Subject: Rewrite search engine and expose as API Signed-off-by: shedaniel --- runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java') diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java index 031f4b22e..e0d4f7274 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java @@ -38,6 +38,7 @@ import me.shedaniel.rei.api.util.CollectionUtils; import me.shedaniel.rei.impl.entry.ItemComparatorRegistryImpl; import me.shedaniel.rei.impl.registry.CategoryRegistryImpl; import me.shedaniel.rei.impl.registry.DisplayRegistryImpl; +import me.shedaniel.rei.impl.search.SearchProviderImpl; import me.shedaniel.rei.impl.subsets.SubsetsRegistryImpl; import me.shedaniel.rei.impl.transfer.TransferHandlerRegistryImpl; import net.fabricmc.api.EnvType; @@ -62,6 +63,7 @@ public class PluginManagerImpl implements PluginManager { private final List plugins = new ArrayList<>(); public PluginManagerImpl() { + registerReloadable(new SearchProviderImpl()); registerReloadable(new ConfigManagerImpl()); registerReloadable(new EntryTypeRegistryImpl()); registerReloadable(new ItemComparatorRegistryImpl()); -- cgit