This commit is contained in:
D3v1s0m 2023-05-28 11:42:22 +05:30
parent 8d073aa2d9
commit 91de1f7f02
No known key found for this signature in database
GPG Key ID: 3B6EC35367B8D82E

@ -44,8 +44,12 @@ public class PropertiesCommand implements CommandHandler {
valueName = bukkitStack.toString(); valueName = bukkitStack.toString();
} }
} }
else if (type == NamedTextColor.class && context.argSize() < 1 && npc.getProperty(property) != null) {
value = null;
valueName = "NONE";
}
else { else {
value = context.parse(property.getType()); value = context.parse(type);
valueName = String.valueOf(value); valueName = String.valueOf(value);
} }