Fix ConcurrentModificationException

This commit is contained in:
2026-06-17 11:04:07 +02:00
parent 3ec3c90f04
commit ed89770c0f
@@ -72,7 +72,7 @@ public class CheckCommand extends SWCommand {
public CheckCommand() { public CheckCommand() {
super("check"); super("check");
VelocityCore.schedule(() -> Chatter.allStream().forEach(CheckCommand::sendReminder)).repeat(10, TimeUnit.MINUTES).schedule(); VelocityCore.schedule(() -> Chatter.allStream().forEach(CheckCommand::sendReminder)).delay(10, TimeUnit.MINUTES).repeat(10, TimeUnit.MINUTES).schedule();
} }
@Override @Override