r1.0发布啦!

1. 添加本地化支持
2. 修复 /perm 制定用户错误
3. 修复 UserTencent 不识别是否注册直接设置权限
4. 给 PermissionManager 加上了注解
This commit is contained in:
2019-06-26 23:32:23 +08:00
parent a3b81d4344
commit 7d5bcaa80f
16 changed files with 214 additions and 41 deletions

View File

@@ -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);
}