geforkt von SteamWar/BungeeCore
Fix team join
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
59b2e397ba
Commit
de51db2667
@ -162,7 +162,7 @@ public class TeamCommand extends SWCommand {
|
||||
|
||||
for(int inv : invs){
|
||||
Team team = Team.get(inv);
|
||||
if(team.getTeamName().equals(args[0])){
|
||||
if(team.getTeamKuerzel().equalsIgnoreCase(args[0]) || team.getTeamName().equalsIgnoreCase(args[0])){
|
||||
t = inv;
|
||||
break;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren