Change item slot size in GuiRecipe (#789)

This commit is contained in:
slprime authored and GitHub committed 2025-11-04 23:10:32 +01:00
1 parent 630e856d83
commit bac207cacb
1 file changed
+1 -1
@@ -146,7 +146,7 @@ public class PositionedStack {
}
public boolean contains(int mx, int my) {
return this.relx <= mx && this.rely <= my && this.relx + 16 >= mx && this.rely + 16 >= my;
return mx >= this.relx - 1 && mx < this.relx + 17 && my >= this.rely - 1 && my < this.rely + 17;
}
public boolean contains(ItemStack ingredient) {