mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +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
|
@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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user