mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-17 15:55:11 +01:00
parent
f784da7c2f
commit
c2c60caa5b
@ -444,10 +444,7 @@ public class AuthMePlayerListener implements Listener {
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
// Fix NPE, idk how this is possible -sgdc3
|
||||
if(player != null && player.isOnline()) {
|
||||
player.closeInventory();
|
||||
}
|
||||
player.closeInventory();
|
||||
}
|
||||
}, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user