Fixed #335
This commit is contained in:
parent
23e63a5a63
commit
2e969b90bf
@ -53,7 +53,8 @@ public abstract class DisguiseBaseCommand implements CommandExecutor {
|
||||
protected String getDisplayName(CommandSender player) {
|
||||
Team team = ((Player) player).getScoreboard().getEntryTeam(player.getName());
|
||||
|
||||
return (team == null ? "" : team.getPrefix()) + player.getName() + (team == null ? "" : team.getSuffix());
|
||||
return (team == null ? "" : team.getColor() + team.getPrefix()) + player.getName() +
|
||||
(team == null ? "" : team.getSuffix());
|
||||
}
|
||||
|
||||
protected ArrayList<String> getAllowedDisguises(DisguisePermissions permissions) {
|
||||
|
Loading…
Reference in New Issue
Block a user