mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Fix NPE / crash on player quit
This commit is contained in:
parent
82789328c1
commit
2a7f951f4f
@ -62,7 +62,7 @@ public class Injector {
|
||||
try {
|
||||
Permissible permissible = getPermissible(sender);
|
||||
if (permissible instanceof LPPermissible) {
|
||||
getPermField(sender).set(sender, null);
|
||||
getPermField(sender).set(sender, new PermissibleBase(sender));
|
||||
}
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user