Fix player disguises names

This commit is contained in:
libraryaddict 2020-07-08 12:14:23 +12:00
parent 45331de38c
commit 525e47d24e

View File

@ -43,7 +43,13 @@ public class PacketListenerScoreboardTeam extends PacketAdapter {
continue; continue;
} }
team = ((PlayerDisguise) disguise).getScoreboardName(); DisguiseUtilities.DScoreTeam t = ((PlayerDisguise) disguise).getScoreboardName();
if (!t.getTeamName().equals(name)) {
continue;
}
team = t;
break loop; break loop;
} }
} }