From 4a524a13e9c003dbd27c60ff937c7e86e29c4f9e Mon Sep 17 00:00:00 2001 From: xander Date: Mon, 5 Sep 2022 19:16:17 +0100 Subject: require restart attribute --- src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testmod/java/dev/isxander') diff --git a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java index 23c9b7e..9fd7d46 100644 --- a/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java +++ b/src/testmod/java/dev/isxander/yacl/test/ModMenuIntegration.java @@ -62,6 +62,7 @@ public class ModMenuIntegration implements ModMenuApi { (value) -> TestSettings.booleanToggle = value ) .controller(BooleanController::new) + .requiresRestart(true) .build()) .option(Option.createBuilder(boolean.class) .name(Text.of("Custom Boolean Toggle")) -- cgit