aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java2
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());
}