This commit is contained in:
GJ 2013-04-30 14:24:31 -04:00
parent 5930128b7f
commit 14050cf096

View File

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