Don't always update custom names
This commit is contained in:
parent
7f50acf061
commit
0213f7f034
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user