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,11 +444,8 @@ public class AuthMePlayerListener implements Listener {
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() { Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
@Override @Override
public void run() { public void run() {
// Fix NPE, idk how this is possible -sgdc3
if(player != null && player.isOnline()) {
player.closeInventory(); player.closeInventory();
} }
}
}, 1); }, 1);
} }