mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Fix player disguises names
This commit is contained in:
parent
45331de38c
commit
525e47d24e
1 changed files with 7 additions and 1 deletions
|
@ -43,7 +43,13 @@ public class PacketListenerScoreboardTeam extends PacketAdapter {
|
|||
continue;
|
||||
}
|
||||
|
||||
team = ((PlayerDisguise) disguise).getScoreboardName();
|
||||
DisguiseUtilities.DScoreTeam t = ((PlayerDisguise) disguise).getScoreboardName();
|
||||
|
||||
if (!t.getTeamName().equals(name)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
team = t;
|
||||
break loop;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue