Always show quantity text box (#150)

This commit is contained in:
D-Cysteine authored and GitHub committed 2021-08-14 21:42:11 +02:00
1 parent f8d492e5f5
commit a016795056
5 files changed
+12 -17

No files matched your search

+1 -8
View File
@@ -136,14 +136,7 @@ public class ItemPanel extends Widget {
}
public int getHeight(GuiContainer gui) {
return gui.height - 15 - y + getHightAdjustment();
}
public int getHightAdjustment() {
int hAdj = 0;
if (!canPerformAction("item"))
hAdj += 15;
return hAdj;
return gui.height - 15 - y;
}
public int getWidth(GuiContainer gui) {