aboutsummaryrefslogtreecommitdiff
path: root/test-common/src/main/java/dev/isxander/yacl3/test
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-12-05 21:00:23 +0000
committerisXander <xandersmith2008@gmail.com>2023-12-05 21:00:23 +0000
commit7c8661265e7116be46467b4f37f1bbcb31569ecc (patch)
tree22f81288373e530de5371ffa49589bfc1834da1b /test-common/src/main/java/dev/isxander/yacl3/test
parent5c2201d85a727e1d68ab64b1abdc3fd8518c816b (diff)
parent996252cf5fd6d5afad7eb3fc91fd6285af5b4ee5 (diff)
downloadYetAnotherConfigLib-7c8661265e7116be46467b4f37f1bbcb31569ecc.tar.gz
YetAnotherConfigLib-7c8661265e7116be46467b4f37f1bbcb31569ecc.tar.bz2
YetAnotherConfigLib-7c8661265e7116be46467b4f37f1bbcb31569ecc.zip
Merge branch 'update/1.20.3' into 1.20.x/dev
# Conflicts: # common/src/main/java/dev/isxander/yacl3/config/v2/impl/serializer/GsonConfigSerializer.java
Diffstat (limited to 'test-common/src/main/java/dev/isxander/yacl3/test')
-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 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()