From c9e278f8945ff0cd9d144b4f481d9fecae0563b9 Mon Sep 17 00:00:00 2001 From: isXander Date: Wed, 19 Oct 2022 20:59:33 +0100 Subject: fix label styles appearing at first position before they are rendered --- src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testmod/java/dev/isxander/yacl/test') diff --git a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java index 80db142..d1bd2c5 100644 --- a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java +++ b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java @@ -72,6 +72,7 @@ public class ModMenuIntegration implements ModMenuApi { ) .controller(BooleanController::new) .flag(OptionFlag.GAME_RESTART) + .available(false) .build()) .option(Option.createBuilder(boolean.class) .name(Text.of("Custom Boolean Toggle")) -- cgit