Skip to content

Commit

Permalink
misc: We have PHYSICAL in Action enum
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Oct 14, 2024
1 parent f2d77f2 commit 91915ae
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ private boolean invokeOrDisguise(Player player, Action action, EquipmentSlot slo
if (mainHandItem.getType().isAir())
return false;

if (!action.isLeftClick() && !action.isRightClick()) return false;

var disguiseState = morphs.getDisguiseStateFor(player);

// 因为快速伪装功能包含了玩家头颅,所以我们没有在上面检查物品是否为技能触发物品。
Expand Down

0 comments on commit 91915ae

Please sign in to comment.