From e81f4a314fdd3643edb4518147198349462e149c Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 1 Apr 2023 14:24:43 +0200 Subject: [PATCH] Fix AI --- .../src/de/steamwar/schematicsystem/commands/AprilCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java index da3955a..af89d1f 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/AprilCommand.java @@ -37,8 +37,7 @@ public class AprilCommand extends SWCommand { super("ai"); } - @Register("prompt") - public void prompt(Player player, String... prompt) { + public void genericCommand(Player player, String... prompt) { SteamwarUser user = SteamwarUser.get(player.getName()); String message = String.join(" ", prompt); SchematicSystem.MESSAGE.send("AI_START", player, message);