diff options
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WPlayerInvPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPlayerInvPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPlayerInvPanel.java index c99793d..da2ac1c 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPlayerInvPanel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPlayerInvPanel.java @@ -45,7 +45,7 @@ public class WPlayerInvPanel extends WPlainPanel { int y = 0; if (label != null) { - this.add(label, 0, 0); + this.add(label, 0, 0, label.getWidth(), label.getHeight()); y += label.getHeight(); } |