From de51db2667892e32bbee81d1d14d29d4e4412d3c Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 14 Apr 2024 17:44:59 +0200 Subject: [PATCH] Fix team join Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/TeamCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/TeamCommand.java b/src/de/steamwar/bungeecore/commands/TeamCommand.java index 38ccd13..fe738a9 100644 --- a/src/de/steamwar/bungeecore/commands/TeamCommand.java +++ b/src/de/steamwar/bungeecore/commands/TeamCommand.java @@ -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; }