aboutsummaryrefslogtreecommitdiff
path: root/GuiTest/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'GuiTest/src/main')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java b/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java
index ce579ae..dc264ba 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/TestDescription.java
@@ -22,6 +22,8 @@ public class TestDescription extends SyncedGuiDescription {
WGridPanel root = (WGridPanel)this.getRootPanel();
WItemSlot slot = WItemSlot.of(blockInventory, 0, 4, 1);
+ // test visual logger warnings
+ slot.setIcon(new TextureIcon(new Identifier("libgui-test", "saddle.png")));
root.add(slot, 0, 1);
WButton buttonA = new WButton(new LiteralText("Button A"));