aboutsummaryrefslogtreecommitdiff
path: root/GuiTest
diff options
context:
space:
mode:
Diffstat (limited to 'GuiTest')
-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);