mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 08:09:39 +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