aboutsummaryrefslogtreecommitdiff
path: root/src/testmod/java
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2022-10-19 20:59:33 +0100
committerisXander <xandersmith2008@gmail.com>2022-10-19 20:59:33 +0100
commitc9e278f8945ff0cd9d144b4f481d9fecae0563b9 (patch)
tree4a0b66466117305e613f41e2d1c4cdc29fa5e2c1 /src/testmod/java
parent732eb451abf40c8b8286627520868687ec7306ff (diff)
downloadYetAnotherConfigLib-c9e278f8945ff0cd9d144b4f481d9fecae0563b9.tar.gz
YetAnotherConfigLib-c9e278f8945ff0cd9d144b4f481d9fecae0563b9.tar.bz2
YetAnotherConfigLib-c9e278f8945ff0cd9d144b4f481d9fecae0563b9.zip
fix label styles appearing at first position before they are rendered
Diffstat (limited to 'src/testmod/java')
-rw-r--r--src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java1
1 files changed, 1 insertions, 0 deletions
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"))