Dieser Commit ist enthalten in:
Ursprung
8823368f0d
Commit
8a21d5c93d
@ -564,11 +564,6 @@ public class TeamCommand extends BasicCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void tp(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){
|
private void tp(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){
|
||||||
if (!user.getUserGroup().isAdminGroup()) {
|
|
||||||
Message.send("DISABLED", player);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(args.length == 1){
|
if(args.length == 1){
|
||||||
if(notInTeam(player, user))
|
if(notInTeam(player, user))
|
||||||
return;
|
return;
|
||||||
@ -615,11 +610,6 @@ public class TeamCommand extends BasicCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void server(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){
|
private void server(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){
|
||||||
if (!user.getUserGroup().isAdminGroup()) {
|
|
||||||
Message.send("DISABLED", player);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(notLeader(player, user, team))
|
if(notLeader(player, user, team))
|
||||||
return;
|
return;
|
||||||
if (user.isPunishedWithMessage(ChatSender.of(player), Punishment.PunishmentType.NoTeamServer)) {
|
if (user.isPunishedWithMessage(ChatSender.of(player), Punishment.PunishmentType.NoTeamServer)) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren