Hotfix TeamCommand
Dieser Commit ist enthalten in:
Ursprung
242e19adb2
Commit
758365bc76
@ -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){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren