diff options
| author | shedaniel <daniel@shedaniel.me> | 2023-10-23 20:32:07 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2023-10-23 21:45:39 +0800 |
| commit | 718fcccc62f180badfe3d9decec9a27068ce725c (patch) | |
| tree | 7b65be9d8104baa83fee2ae0fb1cf9e86d93cb0c /runtime/src/main/java/me/shedaniel/rei/plugin/client | |
| parent | 7ca7269f61154d87ac6c152ee9c863c1f039b174 (diff) | |
| download | RoughlyEnoughItems-718fcccc62f180badfe3d9decec9a27068ce725c.tar.gz RoughlyEnoughItems-718fcccc62f180badfe3d9decec9a27068ce725c.tar.bz2 RoughlyEnoughItems-718fcccc62f180badfe3d9decec9a27068ce725c.zip | |
Optimize collapsible group caching
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 | 4 |
1 files changed, 2 insertions, 2 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 339f0d7b0..ee5dc388c 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 @@ -64,7 +64,7 @@ import me.shedaniel.rei.impl.client.search.method.DefaultInputMethod; import me.shedaniel.rei.impl.client.search.method.unihan.*; 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.impl.common.util.HNEntryStackWrapper; import me.shedaniel.rei.plugin.autocrafting.DefaultCategoryHandler; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; @@ -119,7 +119,7 @@ public class DefaultClientRuntimePlugin implements REIClientPlugin { ((EntryRegistryImpl) registry).listeners.add(new EntryRegistryListener() { @Override - public void onReFilter(List<HashedEntryStackWrapper> stacks) { + public void onReFilter(List<HNEntryStackWrapper> stacks) { filteredStacksVisibilityHandler.reset(); } }); |
