SteamWar/BungeeCore
Archiviert
13
2

Enable SWTSI again
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-06-14 22:53:22 +02:00
Ursprung 8823368f0d
Commit 8a21d5c93d

Datei anzeigen

@ -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)) {