mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-03 09:50:24 +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