mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Another fixy
This commit is contained in:
parent
075733fdea
commit
a06268adb4
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue