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
|
||||
savePlayer(player);
|
||||
|
||||
actionBarTasks.get(e.getPlayer().getUniqueId()).cancel();
|
||||
actionBarTasks.remove(e.getPlayer().getUniqueId());
|
||||
if (actionBarTasks.containsKey(e.getPlayer().getUniqueId())) {
|
||||
actionBarTasks.get(e.getPlayer().getUniqueId()).cancel();
|
||||
actionBarTasks.remove(e.getPlayer().getUniqueId());
|
||||
}
|
||||
|
||||
removePlayer(e.getPlayer().getUniqueId());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue