We default to OP

This commit is contained in:
feildmaster
2012-04-27 04:59:53 -05:00
parent 865d29afdd
commit 1c7f9c3d31

View File

@@ -53,7 +53,10 @@ public class Permission {
public Permission(String name, String description, PermissionDefault defaultValue, Map<String, Boolean> children) {
this.name = name;
this.description = (description == null) ? "" : description;
this.defaultValue = (defaultValue == null) ? PermissionDefault.FALSE : defaultValue;
if (defaultValue != null) {
this.defaultValue = defaultValue;
}
if (children != null) {
this.children.putAll(children);