Skip to content

Commit

Permalink
Fix wrong ingredient slot positions in LP, Closes #1336
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Apr 8, 2024
1 parent f8a2ba8 commit 666ef29
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public ILogicProgrammerElementType getType() {

@Override
public IConfigRenderPattern getRenderPattern() {
return IConfigRenderPattern.NONE_CANVAS;
return IConfigRenderPattern.NONE_CANVAS_WIDE;
}

@Override
Expand Down Expand Up @@ -353,8 +353,8 @@ public ListElementSubGui(ValueTypeIngredientsLPElement element, int baseX, int b
element.activeElement,
subGui);
}
int x = getX() + baseX - 24;
int y = getY() + baseY - 23;
int x = getX() + baseX - 20;
int y = getY() + baseY - 21;
gui.getMenu().setElementInventory(subElement, x, y);
subElement.setValueInGui(subGui);
subGuiHolder.addSubGui(subGui);
Expand Down

0 comments on commit 666ef29

Please sign in to comment.