From a7d41ddc80a26b905081adfc5c64aa65c502eb7b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 16 Jun 2022 16:00:14 +0200 Subject: [PATCH] Update when messages and stuff is send --- src/de/steamwar/command/SubCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/command/SubCommand.java b/src/de/steamwar/command/SubCommand.java index 6456bfd..4758433 100644 --- a/src/de/steamwar/command/SubCommand.java +++ b/src/de/steamwar/command/SubCommand.java @@ -74,7 +74,7 @@ public class SubCommand { } if (validator != null) { if (!validator.validate(sender, sender, (s, objectArgs) -> { - // TODO: implement + abstractSWCommand.sendMessage(sender, s, objectArgs); })) { throw new CommandNoHelpException(); } @@ -97,7 +97,7 @@ public class SubCommand { commandPart.generateArgumentArray(objects, sender, args, 0); if (validator != null) { if (!validator.validate(sender, sender, (s, objectArgs) -> { - // TODO: implement + abstractSWCommand.sendMessage(sender, s, objectArgs); })) { throw new CommandNoHelpException(); } @@ -134,7 +134,7 @@ public class SubCommand { List tabComplete(T sender, String[] args) { if (validator != null) { if (!validator.validate(sender, sender, (s, objects) -> { - // TODO: implement + // ignore })) { return null; }