diff options
author | isXander <xander@isxander.dev> | 2023-08-16 09:10:49 +0100 |
---|---|---|
committer | isXander <xander@isxander.dev> | 2023-08-16 09:10:49 +0100 |
commit | b3d5164010682cdf2d3f68be141792bf71a5dd49 (patch) | |
tree | 80c32a22084e144fbfdb13cbe67e9d9ab6f88efa /test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java | |
parent | a892b7e9c2f67b072cf1461241f4ba5488e41370 (diff) | |
download | YetAnotherConfigLib-b3d5164010682cdf2d3f68be141792bf71a5dd49.tar.gz YetAnotherConfigLib-b3d5164010682cdf2d3f68be141792bf71a5dd49.tar.bz2 YetAnotherConfigLib-b3d5164010682cdf2d3f68be141792bf71a5dd49.zip |
Seem to resolve GL error when loading images
Diffstat (limited to 'test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java')
-rw-r--r-- | test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java b/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java index 9c232ca..71b57f0 100644 --- a/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java +++ b/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java @@ -83,7 +83,7 @@ public class GuiTest { .append(Component.literal("e").withStyle(style -> style.withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Component.literal("e"))))) .withStyle(style -> style.withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://isxander.dev"))) ) - .webpImage(Path.of("D:\\Xander\\Code\\isXander\\Controlify\\src\\main\\resources\\assets\\controlify\\textures\\screenshots\\reach-around-placement.webp"), new ResourceLocation("yacl", "e.webp")) + .webpImage(new ResourceLocation("yacl3", "reach-around-placement.webp")) .build()) .binding( defaults.booleanToggle, |