forked from Upstream/mmocore
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
|
@Override
|
||||||
public void onTick() {
|
public void onTick() {
|
||||||
if (getCaster().getBoundSkills().isEmpty()) close();
|
if (getCaster().getBoundSkills().isEmpty()) getCaster().leaveSkillCasting();
|
||||||
else if (actionBarOptions != null) if (actionBarOptions.isSubtitle)
|
else if (actionBarOptions != null) if (actionBarOptions.isSubtitle)
|
||||||
getCaster().getPlayer().sendTitle(" ", actionBarOptions.format(this), 0, 20, 0);
|
getCaster().getPlayer().sendTitle(" ", actionBarOptions.format(this), 0, 20, 0);
|
||||||
else getCaster().displayActionBar(actionBarOptions.format(this));
|
else getCaster().displayActionBar(actionBarOptions.format(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user