Ursprung
33d6a9ad53
Commit
eef545d282
@ -31,7 +31,6 @@ import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class AprilCommand extends SWCommand {
|
||||
private static final Random random = new Random("AprilCommand".hashCode());
|
||||
|
||||
public AprilCommand() {
|
||||
super("ai");
|
||||
@ -41,6 +40,7 @@ public class AprilCommand extends SWCommand {
|
||||
public void genericCommand(Player player, String... prompt) {
|
||||
SteamwarUser user = SteamwarUser.get(player.getName());
|
||||
String message = String.join(" ", prompt);
|
||||
Random random = new Random(message.hashCode());
|
||||
SchematicSystem.MESSAGE.send("AI_START", player, message);
|
||||
try {
|
||||
Thread.sleep(random.nextInt(3000));
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren