aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-07-13 22:08:26 +0800
committershedaniel <daniel@shedaniel.me>2020-07-13 22:08:26 +0800
commitf2d6d8525aa74329c6491f57afad6570aec25791 (patch)
tree9828feba6b3d7fedc27ecf2573a5a4afbcda5e08 /src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java
parent627b2524ee1111a020a38928818858cd8f1bd804 (diff)
downloadRoughlyEnoughItems-f2d6d8525aa74329c6491f57afad6570aec25791.tar.gz
RoughlyEnoughItems-f2d6d8525aa74329c6491f57afad6570aec25791.tar.bz2
RoughlyEnoughItems-f2d6d8525aa74329c6491f57afad6570aec25791.zip
Performance Improvements
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java b/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java
index bcdea853d..60f01a738 100644
--- a/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java
+++ b/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java
@@ -446,10 +446,10 @@ public class RecipeHelperImpl implements RecipeHelper {
((DisplayHelperImpl) DisplayHelper.getInstance()).resetCache();
ScreenHelper.getOptionalOverlay().ifPresent(overlay -> overlay.shouldReInit = true);
- startSection(sectionData, "entry-registry-distinct");
+ startSection(sectionData, "entry-registry-finalise");
- // Remove duplicate entries
- ((EntryRegistryImpl) EntryRegistry.getInstance()).distinct();
+ // Finish Reload
+ ((EntryRegistryImpl) EntryRegistry.getInstance()).finishReload();
endSection(sectionData);
startSection(sectionData, "entry-registry-refilter");