This commit is contained in:
libraryaddict 2020-08-11 12:21:09 +12:00
parent 50022ee13a
commit 8144f16182

View File

@ -198,6 +198,10 @@ public class DisguiseUtilities {
}
public static String getDisplayName(CommandSender player) {
if (player == null) {
return "???";
}
if (!(player instanceof Player)) {
return player.getName();
}