Revert "Fix #705"
This reverts commit 9e688b410dac6e9f906aa95a00e073f912769bc2.
This commit is contained in:
parent
f784da7c2f
commit
c2c60caa5b
@ -444,10 +444,7 @@ 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
|
player.closeInventory();
|
||||||
if(player != null && player.isOnline()) {
|
|
||||||
player.closeInventory();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}, 1);
|
}, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user