From f2d6d8525aa74329c6491f57afad6570aec25791 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Mon, 13 Jul 2020 22:08:26 +0800 Subject: Performance Improvements Signed-off-by: shedaniel --- src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java') 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"); -- cgit