Fix player disguises names
This commit is contained in:
parent
45331de38c
commit
525e47d24e
@ -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 New Issue
Block a user