mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 11:04:21 +00:00
Fix NPE
This commit is contained in:
1 file changed
+1
-1
@@ -97,7 +97,7 @@ public class User extends PermissionHolder implements Identifiable<UserIdentifie
|
||||
throw new IllegalStateException("Data already setup");
|
||||
}
|
||||
|
||||
userData = new UserData(this, null);
|
||||
userData = new UserData(this, getPlugin().getCalculatorFactory());
|
||||
userData.preCalculate(getPlugin().getPreProcessContexts(op));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user