diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-11-27 17:50:11 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-11-27 18:05:58 +0800 |
| commit | 2123544fcf3ad7ec6d89e671a993a75737e3a44e (patch) | |
| tree | d9f47994a2d3f715914eaa703ad05c55aba274b5 /runtime/src/main/java/me/shedaniel/rei/plugin/client | |
| parent | 9c865aff50b8c49e89ee1a7d6319d52cdcdd229a (diff) | |
| download | RoughlyEnoughItems-2123544fcf3ad7ec6d89e671a993a75737e3a44e.tar.gz RoughlyEnoughItems-2123544fcf3ad7ec6d89e671a993a75737e3a44e.tar.bz2 RoughlyEnoughItems-2123544fcf3ad7ec6d89e671a993a75737e3a44e.zip | |
Make filtering more immediate
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/plugin/client')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/DefaultClientRuntimePlugin.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/DefaultClientRuntimePlugin.java b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/DefaultClientRuntimePlugin.java index 95e77b334..4e0c6cbee 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/DefaultClientRuntimePlugin.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/client/runtime/DefaultClientRuntimePlugin.java @@ -67,6 +67,7 @@ import me.shedaniel.rei.impl.client.search.method.unihan.PinyinInputMethod; import me.shedaniel.rei.impl.client.search.method.unihan.UniHanManager; import me.shedaniel.rei.impl.common.entry.type.EntryRegistryImpl; import me.shedaniel.rei.impl.common.entry.type.EntryRegistryListener; +import me.shedaniel.rei.impl.common.util.HashedEntryStackWrapper; import me.shedaniel.rei.plugin.autocrafting.DefaultCategoryHandler; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; @@ -120,7 +121,7 @@ public class DefaultClientRuntimePlugin implements REIClientPlugin { ((EntryRegistryImpl) registry).listeners.add(new EntryRegistryListener() { @Override - public void onReFilter(List<EntryStack<?>> stacks) { + public void onReFilter(List<HashedEntryStackWrapper> stacks) { filteredStacksVisibilityHandler.reset(); } }); |
