action bar patch
This commit is contained in:
parent
0edce64ab3
commit
be235dac16
1 changed files with 4 additions and 2 deletions
|
@ -158,8 +158,10 @@ public class PlayerManager extends Manager {
|
||||||
// save for player
|
// save for player
|
||||||
savePlayer(player);
|
savePlayer(player);
|
||||||
|
|
||||||
actionBarTasks.get(e.getPlayer().getUniqueId()).cancel();
|
if (actionBarTasks.containsKey(e.getPlayer().getUniqueId())) {
|
||||||
actionBarTasks.remove(e.getPlayer().getUniqueId());
|
actionBarTasks.get(e.getPlayer().getUniqueId()).cancel();
|
||||||
|
actionBarTasks.remove(e.getPlayer().getUniqueId());
|
||||||
|
}
|
||||||
|
|
||||||
removePlayer(e.getPlayer().getUniqueId());
|
removePlayer(e.getPlayer().getUniqueId());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue