diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-06-21 22:11:09 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-06-28 03:21:12 +0800 |
| commit | fbf63f0d545597676aae46729739b1b13f41452f (patch) | |
| tree | 0a564ce7861ac295a4619d9ca8061b4791a48881 /runtime | |
| parent | 3dd124e7d67ea84e6170329eb47d1ffd54e76463 (diff) | |
| download | RoughlyEnoughItems-fbf63f0d545597676aae46729739b1b13f41452f.tar.gz RoughlyEnoughItems-fbf63f0d545597676aae46729739b1b13f41452f.tar.bz2 RoughlyEnoughItems-fbf63f0d545597676aae46729739b1b13f41452f.zip | |
Fix no stacks are being filtered
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java index fa62b2bbb..ea8b73015 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java @@ -78,13 +78,13 @@ public class EntryRegistryImpl implements EntryRegistry { registryList = new ReloadingEntryRegistryList(); entriesHash = new LongOpenHashSet(); preFilteredList = new PreFilteredEntryList(this); + listeners.add(preFilteredList); reloading = true; } @Override public void endReload() { reloading = false; - preFilteredList = new PreFilteredEntryList(this); if (!(registryList instanceof ReloadingEntryRegistryList)) { throw new IllegalStateException("Expected ReloadingEntryRegistryList, got " + registryList.getClass().getName()); } |
