Don't always update custom names
This commit is contained in:
@@ -488,6 +488,12 @@ public class FlagWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCustomName(String name) {
|
public void setCustomName(String name) {
|
||||||
|
String customName = getCustomName();
|
||||||
|
|
||||||
|
if (Objects.equals(customName, name)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!getDisguise().isPlayerDisguise() && DisguiseConfig.isArmorstandsName() &&
|
if (!getDisguise().isPlayerDisguise() && DisguiseConfig.isArmorstandsName() &&
|
||||||
DisguiseConfig.isOverrideCustomNames()) {
|
DisguiseConfig.isOverrideCustomNames()) {
|
||||||
MetaIndex custom =
|
MetaIndex custom =
|
||||||
|
Reference in New Issue
Block a user