From bfe71c615b8cc3cba891e9abfb693c15385145ad Mon Sep 17 00:00:00 2001 From: isXander Date: Thu, 1 Jun 2023 15:40:31 +0100 Subject: Fix reading of lossy animated WebPs --- test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java') diff --git a/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java b/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java index 2da0423..8647d16 100644 --- a/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java +++ b/test-common/src/main/java/dev/isxander/yacl/test/GuiTest.java @@ -70,7 +70,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"))) ) - .gifImage(Path.of("D:\\Xander\\Downloads\\showcaseMain.gif"), new ResourceLocation("yacl", "e.webp")) + .webpImage(Path.of("D:\\Xander\\Code\\isXander\\Controlify\\src\\main\\resources\\assets\\controlify\\textures\\screenshots\\reach-around-placement.webp"), new ResourceLocation("yacl", "e.webp")) .build()) .binding( defaults.booleanToggle, -- cgit