Fix custom names

This commit is contained in:
libraryaddict 2020-05-08 13:25:54 +12:00
parent 2de723af8a
commit a963e86323
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -275,6 +275,7 @@ public class FlagWatcher {
return null; return null;
} }
@RandomDefaultValue
public void setCustomName(String name) { public void setCustomName(String name) {
if (DisguiseConfig.isArmorstandsName() && DisguiseConfig.isOverrideCustomNames()) { if (DisguiseConfig.isArmorstandsName() && DisguiseConfig.isOverrideCustomNames()) {
if (NmsVersion.v1_13.isSupported()) { if (NmsVersion.v1_13.isSupported()) {