13
0

Fix AI
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2023-04-01 14:24:43 +02:00
Ursprung 169e4fd75f
Commit e81f4a314f

Datei anzeigen

@ -37,8 +37,7 @@ public class AprilCommand extends SWCommand {
super("ai"); super("ai");
} }
@Register("prompt") public void genericCommand(Player player, String... prompt) {
public void prompt(Player player, String... prompt) {
SteamwarUser user = SteamwarUser.get(player.getName()); SteamwarUser user = SteamwarUser.get(player.getName());
String message = String.join(" ", prompt); String message = String.join(" ", prompt);
SchematicSystem.MESSAGE.send("AI_START", player, message); SchematicSystem.MESSAGE.send("AI_START", player, message);