Skip to content

Commit

Permalink
fix catalysts in multiblock structure recipes when shown bookmarks re…
Browse files Browse the repository at this point in the history
…cipe tooltip (#542)

Co-authored-by: slprime <[email protected]>
  • Loading branch information
slprime and slprime authored Oct 6, 2024
1 parent 43918f3 commit 2e5781b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/codechicken/nei/recipe/GuiRecipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,6 @@ protected void changePage(int shift) {
}

public void refreshPage() {
RecipeCatalysts.updatePosition(ySize - BG_TOP_HEIGHT - (GuiRecipeCatalyst.fullBorder * 2));
changePage(0);
refreshSlots();
final int recipesPerPage = getRecipesPerPage();
Expand All @@ -996,6 +995,7 @@ public void refreshPage() {
checkYShift();

if (!limitToOneRecipe) {
RecipeCatalysts.updatePosition(ySize - BG_TOP_HEIGHT - (GuiRecipeCatalyst.fullBorder * 2));
toggleSearch.w = toggleSearch.h = 12;
toggleSearch.x = borderPadding + buttonWidth;
toggleSearch.y = 17;
Expand Down

0 comments on commit 2e5781b

Please sign in to comment.