Small bug fixes

This commit is contained in:
Jason Mitchell committed 2022-01-04 21:46:46 -08:00
1 parent 5bbcc570f9
commit 2d18dcf42b
2 files changed
+5 -7

No files matched your search

@@ -692,9 +692,7 @@ public abstract class GuiRecipe extends GuiContainer implements IGuiContainerOve
@Override
public boolean hideItemPanelSlot(GuiContainer gui, int x, int y, int w, int h) {
// Because some of the handlers *cough avaritia* are oversized
Rectangle rect = new Rectangle(area);
return rect.contains(x, y, w, h);
return area.intersects(x, y, w, h);
}
}