mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Update ClientPermissions.java
This commit is contained in:
parent
a8e9418e89
commit
9f2c9bb589
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ public synchronized void compile() {
|
|||
if (available != null) {
|
||||
return;
|
||||
}
|
||||
if (perms == null) {
|
||||
perms = new ArrayList<>(0);
|
||||
|
||||
}
|
||||
available = new ArrayList<>(perms.size());
|
||||
for (String a : perms) {
|
||||
available.add(new PermissionPattern(a));
|
||||
|
|
Loading…
Reference in a new issue