Fix Check and CheckCommand permission

This commit is contained in:
2026-08-11 21:05:36 +02:00
parent 9d5b7893f1
commit 4aa7c99a6e
2 changed files with 9 additions and 2 deletions
@@ -85,7 +85,6 @@ public class CheckCommand extends SWCommand {
if (user.perms().contains(UserPerm.CHECK)) return true;
return GameModeConfig.getAll()
.stream()
.filter(GameModeConfig::isActive)
.anyMatch(gameMode -> gameMode.Checkers.contains(user.getId()));
}