Still need to remove from pending even if offline.

This commit is contained in:
GJ 2013-04-30 15:47:19 -04:00
parent d85a6bec43
commit e1ebb96545

View File

@ -17,11 +17,10 @@ public class ScoreboardChangeTask extends BukkitRunnable {
@Override
public void run() {
if (!player.isOnline()) {
return;
if (player.isOnline()) {
player.setScoreboard(oldScoreboard);
}
player.setScoreboard(oldScoreboard);
ScoreboardManager.clearPendingTask(player.getName());
}
}