Change getPlayer togetPlayerExcat when getting display name of playername
This commit is contained in:
parent
bc9ebac4d5
commit
89ebb84c99
@ -305,7 +305,7 @@ public class DisguiseUtilities {
|
|||||||
return team.getPrefix() + team.getColor() + playerName + team.getSuffix();
|
return team.getPrefix() + team.getColor() + playerName + team.getSuffix();
|
||||||
}
|
}
|
||||||
|
|
||||||
Player player = Bukkit.getPlayer(playerName);
|
Player player = Bukkit.getPlayerExact(playerName);
|
||||||
|
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
return playerName;
|
return playerName;
|
||||||
|
Loading…
Reference in New Issue
Block a user