diff options
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() |