fixes #57
This commit is contained in:
parent
8d073aa2d9
commit
91de1f7f02
1 changed files with 5 additions and 1 deletions
|
@ -44,8 +44,12 @@ public class PropertiesCommand implements CommandHandler {
|
|||
valueName = bukkitStack.toString();
|
||||
}
|
||||
}
|
||||
else if (type == NamedTextColor.class && context.argSize() < 1 && npc.getProperty(property) != null) {
|
||||
value = null;
|
||||
valueName = "NONE";
|
||||
}
|
||||
else {
|
||||
value = context.parse(property.getType());
|
||||
value = context.parse(type);
|
||||
valueName = String.valueOf(value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue