Another fixy
This commit is contained in:
parent
075733fdea
commit
a06268adb4
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user