SteamWar/BungeeCore
Archiviert
13
2

Hotfix TeamCommand

Dieser Commit ist enthalten in:
yoyosource 2023-02-24 20:21:21 +01:00
Ursprung 242e19adb2
Commit 758365bc76

Datei anzeigen

@ -363,7 +363,7 @@ public class TeamCommand extends SWCommand {
public void info(ProxiedPlayer player, String... args){ public void info(ProxiedPlayer player, String... args){
SteamwarUser user = SteamwarUser.get(player.getUniqueId()); SteamwarUser user = SteamwarUser.get(player.getUniqueId());
Team team = Team.get(user.getTeam()); Team team = Team.get(user.getTeam());
if(args.length == 1 && user.getTeam() == 0){ if(args.length == 0 && user.getTeam() == 0){
Message.send("TEAM_INFO_USAGE", player); Message.send("TEAM_INFO_USAGE", player);
return; return;
}else if(user.getTeam() == 0 || args.length == 1){ }else if(user.getTeam() == 0 || args.length == 1){