mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
We default to OP
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
0f27c1f9c5
commit
b3e8152fa3
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue