forked from SteamWar/SteamWar
Add ignore for SteamWar team
This commit is contained in:
@@ -133,7 +133,8 @@ public class CheckCommand extends SWCommand {
|
||||
}
|
||||
|
||||
int playerTeam = sender.user().hasPerm(UserPerm.MODERATION) ? 0 : sender.user().getTeam();
|
||||
if (playerTeam != 0 && SteamwarUser.get(schem.getOwner()).getTeam() == playerTeam) {
|
||||
// Ignore 795 SteamWar Team
|
||||
if (playerTeam != 0 && playerTeam != 795 && SteamwarUser.get(schem.getOwner()).getTeam() == playerTeam) {
|
||||
sender.system("CHECK_SCHEMATIC_OWN_TEAM");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user