Fixed issue with hasPermission returning false wrongly
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -76,7 +76,7 @@ public class PermissibleBase implements Permissible {
|
|||||||
if (perm != null) {
|
if (perm != null) {
|
||||||
return perm.getDefault().getValue(isOp());
|
return perm.getDefault().getValue(isOp());
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return Permission.DEFAULT_PERMISSION.getValue(isOp());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user