Fix NPE / crash on player quit

This commit is contained in:
Luck 2016-10-04 16:10:06 +01:00
parent 82789328c1
commit 2a7f951f4f
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -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) {