mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +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 {
|
try {
|
||||||
Permissible permissible = getPermissible(sender);
|
Permissible permissible = getPermissible(sender);
|
||||||
if (permissible instanceof LPPermissible) {
|
if (permissible instanceof LPPermissible) {
|
||||||
getPermField(sender).set(sender, null);
|
getPermField(sender).set(sender, new PermissibleBase(sender));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user