Don't always update custom names

This commit is contained in:
libraryaddict 2020-10-10 07:30:34 +13:00
parent 7f50acf061
commit 0213f7f034

View File

@ -488,6 +488,12 @@ public class FlagWatcher {
}
public void setCustomName(String name) {
String customName = getCustomName();
if (Objects.equals(customName, name)) {
return;
}
if (!getDisguise().isPlayerDisguise() && DisguiseConfig.isArmorstandsName() &&
DisguiseConfig.isOverrideCustomNames()) {
MetaIndex custom =