This commit is contained in:
kento2 2026-08-10 21:45:45 +02:00
parent a088d27485
commit 46978ae799
18 changed files with 2233 additions and 112 deletions

View file

@ -38,7 +38,7 @@ class KeyLiteral {
var actionLiteralBuilder = Literal.<Player>builder(action.name());
for (var argument : action.arguments())
actionLiteralBuilder.withArgument(argument);
actionLiteralBuilder.withSyncExecutor((style, ctx) -> {
actionLiteralBuilder.withSyncExecutor(ctx -> {
if (action.requiresValue() && node.value() == null) {
ctx.sender().sendMessage(style.err("No value set."));
return;