From 14050cf096ceda32dac0242ed004280f1ac7f9a2 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 30 Apr 2013 14:24:31 -0400 Subject: [PATCH] Oops. --- .../nossr50/runnables/scoreboards/ScoreboardChangeTask.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/runnables/scoreboards/ScoreboardChangeTask.java b/src/main/java/com/gmail/nossr50/runnables/scoreboards/ScoreboardChangeTask.java index 90dab6789..ff5b0eaf4 100644 --- a/src/main/java/com/gmail/nossr50/runnables/scoreboards/ScoreboardChangeTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/scoreboards/ScoreboardChangeTask.java @@ -18,9 +18,10 @@ public class ScoreboardChangeTask extends BukkitRunnable { @Override public void run() { if (!player.isOnline()) { - player.setScoreboard(oldScoreboard); + return; } + player.setScoreboard(oldScoreboard); ScoreboardManager.clearPendingTask(player.getName()); } }