mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
@@ -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);
|
||||
|
Reference in New Issue
Block a user