diff options
Diffstat (limited to 'src/main/java/org/bukkit/permissions/Permission.java')
-rw-r--r-- | src/main/java/org/bukkit/permissions/Permission.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/permissions/Permission.java b/src/main/java/org/bukkit/permissions/Permission.java index 4381e2e4..bfb4adec 100644 --- a/src/main/java/org/bukkit/permissions/Permission.java +++ b/src/main/java/org/bukkit/permissions/Permission.java @@ -52,7 +52,7 @@ 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) ? defaultValue.FALSE : defaultValue; + this.defaultValue = (defaultValue == null) ? PermissionDefault.FALSE : defaultValue; if (children != null) { this.children.putAll(children); |