diff options
author | isXander <xandersmith2008@gmail.com> | 2023-10-29 14:54:37 +0000 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-10-29 14:54:37 +0000 |
commit | 62820fc8116f19c2be3e73d0ab90b1078eafdb2b (patch) | |
tree | ec5a863ccfe75916c5f99006fceaa046f4ad521b /test-common | |
parent | aeedaf10708e2a9d44b453f0e2671e6899ee5e3e (diff) | |
download | YetAnotherConfigLib-62820fc8116f19c2be3e73d0ab90b1078eafdb2b.tar.gz YetAnotherConfigLib-62820fc8116f19c2be3e73d0ab90b1078eafdb2b.tar.bz2 YetAnotherConfigLib-62820fc8116f19c2be3e73d0ab90b1078eafdb2b.zip |
Bump deps, version + changelog
Diffstat (limited to 'test-common')
-rw-r--r-- | test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java | 9 |
1 files changed, 1 insertions, 8 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 3b5c122..a20312e 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 @@ -43,17 +43,10 @@ public class GuiTest { .option(ButtonOption.createBuilder() .name(Component.literal("Auto-gen test")) .action((screen, opt) -> { - AutogenConfigTest.INSTANCE.serializer().load(); + AutogenConfigTest.INSTANCE.load(); Minecraft.getInstance().setScreen(AutogenConfigTest.INSTANCE.generateGui().generateScreen(screen)); }) .build()) - .option(ButtonOption.createBuilder() - .name(Component.literal("Skyblocker test")) - .action((screen, opt) -> { - SkyblockerConfig.HANDLER.serializer().load(); - Minecraft.getInstance().setScreen(SkyblockerConfig.HANDLER.generateGui().generateScreen(screen)); - }) - .build()) .group(OptionGroup.createBuilder() .name(Component.literal("Wiki")) .option(ButtonOption.createBuilder() |