aboutsummaryrefslogtreecommitdiff
path: root/GuiTest/src/main/java
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-20 21:48:25 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-20 21:48:25 +0300
commit48254df84d4e8f58f37b7bbb1ef3cb81446f6df4 (patch)
tree27d482ae98f259af7cf47d93f715794dbc8ded0b /GuiTest/src/main/java
parent003bd359141ec6450de960683d964ec35f671aca (diff)
downloadLibGui-48254df84d4e8f58f37b7bbb1ef3cb81446f6df4.tar.gz
LibGui-48254df84d4e8f58f37b7bbb1ef3cb81446f6df4.tar.bz2
LibGui-48254df84d4e8f58f37b7bbb1ef3cb81446f6df4.zip
Add Inventory label for player inventory panels
Also allows custom label widgets that can be *any* widget.
Diffstat (limited to 'GuiTest/src/main/java')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/TestController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java b/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
index 43a0a6f..1d3c955 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/TestController.java
@@ -22,7 +22,7 @@ public class TestController extends CottonInventoryController {
root.add(button, 0, 3, 5, 1);
- root.add(new WPlayerInvPanel(playerInventory), 0, 5);
+ root.add(createPlayerInventoryPanel(), 0, 5);
this.getRootPanel().validate(this);