mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-07-19 10:04:45 +02: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