From a06268adb4a923759cf41d1b751186ef223704a0 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 6 Feb 2021 16:38:45 +1300 Subject: [PATCH] Another fixy --- .../libraryaddict/disguise/disguisetypes/PlayerDisguise.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java index 7cce1d29..336ec18f 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java @@ -661,8 +661,8 @@ public class PlayerDisguise extends TargetedDisguise { if (isDynamicName()) { String name = getEntity().getCustomName(); - if (name == null) { - name = ""; + if (name == null || name.isEmpty()) { + name = "LD_NoName"; } if (!getName().equals(name)) {