From c8ab29d1d6111ba581b0f0bcb0a6d0c852161edb Mon Sep 17 00:00:00 2001 From: isxander Date: Wed, 22 Nov 2023 17:00:22 +0000 Subject: Update to 1.20.3-pre2, temp disable forge projects --- test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-common/src/main/java/dev/isxander') 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 ec16e2e..0c56caa 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 @@ -284,7 +284,7 @@ public class GuiTest { .name(Component.literal("Options that aren't really options")) .option(ButtonOption.createBuilder() .name(Component.literal("Button \"Option\"")) - .action((screen, opt) -> SystemToast.add(Minecraft.getInstance().getToasts(), SystemToast.SystemToastIds.TUTORIAL_HINT, Component.literal("Button Pressed"), Component.literal("Button option was invoked!"))) + .action((screen, opt) -> SystemToast.add(Minecraft.getInstance().getToasts(), SystemToast.SystemToastId.PERIODIC_NOTIFICATION, Component.literal("Button Pressed"), Component.literal("Button option was invoked!"))) .build()) .option(LabelOption.create( Component.empty() -- cgit