Add Reset to Debug Handler (#901)

This commit is contained in:
slprime authored and GitHub committed 2026-03-26 22:22:13 +02:00
1 parent 0ba14091fb
commit 6bc899769f
3 files changed
+139 -106

No files matched your search

@@ -784,9 +784,10 @@ public abstract class GuiRecipe<H extends IRecipeHandler> extends GuiContainer i
}
public void forceRefreshPage() {
this.currenthandlers.sort(NEIClientConfig.HANDLER_COMPARATOR);
final int currentPage = this.handlerPages.getCurrentPageIndex();
this.currenthandlers.sort(NEIClientConfig.HANDLER_COMPARATOR);
this.recipetype = this.currenthandlers.indexOf(this.handler.original);
setRecipePage(this.recipetype);
this.handlerPages.changePage(currentPage);