aboutsummaryrefslogtreecommitdiff
path: root/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2023-08-16 09:10:49 +0100
committerisXander <xander@isxander.dev>2023-08-16 09:10:49 +0100
commitb3d5164010682cdf2d3f68be141792bf71a5dd49 (patch)
tree80c32a22084e144fbfdb13cbe67e9d9ab6f88efa /test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
parenta892b7e9c2f67b072cf1461241f4ba5488e41370 (diff)
downloadYetAnotherConfigLib-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.java2
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,