Change getPlayer togetPlayerExcat when getting display name of playername

This commit is contained in:
libraryaddict 2021-11-22 14:25:26 +13:00
parent bc9ebac4d5
commit 89ebb84c99

View File

@ -305,7 +305,7 @@ public class DisguiseUtilities {
return team.getPrefix() + team.getColor() + playerName + team.getSuffix();
}
Player player = Bukkit.getPlayer(playerName);
Player player = Bukkit.getPlayerExact(playerName);
if (player == null) {
return playerName;