Revert "Fix #705"

This reverts commit 9e688b410d.
This commit is contained in:
Gabriele C 2016-05-14 14:33:30 +02:00
parent f784da7c2f
commit c2c60caa5b

View File

@ -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);
}