mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-23 00:05:52 +01:00
Fixed issue #917 about a bug when unbinding a skill from a slot while being in a key combo.
This commit is contained in:
parent
a794f81a5f
commit
09ea9ab3a9
@ -175,7 +175,7 @@ public class KeyCombos implements SkillCastingListener {
|
||||
|
||||
@Override
|
||||
public void onTick() {
|
||||
if (getCaster().getBoundSkills().isEmpty()) close();
|
||||
if (getCaster().getBoundSkills().isEmpty()) getCaster().leaveSkillCasting();
|
||||
else if (actionBarOptions != null) if (actionBarOptions.isSubtitle)
|
||||
getCaster().getPlayer().sendTitle(" ", actionBarOptions.format(this), 0, 20, 0);
|
||||
else getCaster().displayActionBar(actionBarOptions.format(this));
|
||||
|
Loading…
Reference in New Issue
Block a user