Skip to content

Commit

Permalink
Fix a bug that caused recipes to open in the fluid selection gui
Browse files Browse the repository at this point in the history
  • Loading branch information
KatatsumuriPan committed Mar 2, 2024
1 parent 9d177a4 commit 5974032
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ public void initPanel() {
ItemStack tmp = inventory.getStackInSlot(i + 9);
BigItemStack invoStack = tmp.isEmpty() ? null : new BigItemStack(tmp);

cvBottomLeft.addPanel(new PanelItemSlot(new GuiTransform(GuiAlign.TOP_LEFT, x, y, slotSize, slotSize, 0), 2, invoStack, true));
cvBottomLeft.addPanel(new PanelItemSlot(new GuiTransform(GuiAlign.TOP_LEFT, x, y, slotSize, slotSize, 0), 2, invoStack, true).setCallback(c -> {
}));

}

Expand All @@ -144,7 +145,9 @@ public void initPanel() {
ItemStack tmp = inventory.getStackInSlot(i);
BigItemStack invoStack = tmp.isEmpty() ? null : new BigItemStack(tmp);

cvBottomLeft.addPanel(new PanelItemSlot(new GuiTransform(GuiAlign.TOP_LEFT, x, 20 + (3 * slotSize), slotSize, slotSize, 0), 2, invoStack, true));
cvBottomLeft.addPanel(new PanelItemSlot(new GuiTransform(GuiAlign.TOP_LEFT, x, 20 + (3 * slotSize), slotSize, slotSize, 0), 2, invoStack, true)
.setCallback(c -> {
}));
}

// === DIVIDERS ===
Expand Down

0 comments on commit 5974032

Please sign in to comment.