r1.0发布啦!
1. 添加本地化支持 2. 修复 /perm 制定用户错误 3. 修复 UserTencent 不识别是否注册直接设置权限 4. 给 PermissionManager 加上了注解
This commit is contained in:
@@ -22,6 +22,11 @@ public class Permission {
|
||||
this.def = def;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>null</code>, if locked and un-registered
|
||||
* @param name
|
||||
* @return
|
||||
*/
|
||||
public static Permission of(String name) {
|
||||
return of(name, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user