diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/ClientPermissions.java b/LauncherAPI/src/main/java/pro/gravit/launcher/ClientPermissions.java index 96938403..d590ffb6 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/ClientPermissions.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/ClientPermissions.java @@ -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));