mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-02-26 09:21:49 +01:00
Fix NPE
This commit is contained in:
parent
74f9283f18
commit
b6c4239322
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user