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 @Override
public void run() { public void run() {
if (!player.isOnline()) { if (player.isOnline()) {
return; player.setScoreboard(oldScoreboard);
} }
player.setScoreboard(oldScoreboard);
ScoreboardManager.clearPendingTask(player.getName()); ScoreboardManager.clearPendingTask(player.getName());
} }
} }