Another fixy

This commit is contained in:
libraryaddict 2021-02-06 16:38:45 +13:00
parent 075733fdea
commit a06268adb4

View File

@ -661,8 +661,8 @@ public class PlayerDisguise extends TargetedDisguise {
if (isDynamicName()) { if (isDynamicName()) {
String name = getEntity().getCustomName(); String name = getEntity().getCustomName();
if (name == null) { if (name == null || name.isEmpty()) {
name = ""; name = "LD_NoName";
} }
if (!getName().equals(name)) { if (!getName().equals(name)) {