This commit is contained in:
2024-11-18 18:02:15 +01:00
parent 4bb1bc0cbd
commit 9415a3f217
2 changed files with 8 additions and 9 deletions
@@ -55,4 +55,4 @@ object InviteCommand: SWCommand("invite") {
fun isLeader(): TypeValidator<Player> {
return TypeValidator<Player> { _, player, _ -> TNTLeagueGame.getTeam(player)?.leader == player}
}
}
}