mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Still need to remove from pending even if offline.
This commit is contained in:
parent
d85a6bec43
commit
e1ebb96545
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user