From 866370122aa743e51ae2c58d85a16625b6ea9dfb Mon Sep 17 00:00:00 2001 From: MATRIX-feather Date: Sat, 26 Oct 2024 11:21:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=8B=E6=8C=81=E4=BB=BB=E4=BD=95?= =?UTF-8?q?=E7=89=A9=E5=93=81=E9=83=BD=E8=83=BD=E8=A7=A6=E5=8F=91=E5=BF=AB?= =?UTF-8?q?=E9=80=9F=E4=BC=AA=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/nifeather/morph/events/CommonEventProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/nifeather/morph/events/CommonEventProcessor.java b/src/main/java/xyz/nifeather/morph/events/CommonEventProcessor.java index 40e4bb7e..e4d3ffb8 100644 --- a/src/main/java/xyz/nifeather/morph/events/CommonEventProcessor.java +++ b/src/main/java/xyz/nifeather/morph/events/CommonEventProcessor.java @@ -251,8 +251,8 @@ private boolean invokeOrDisguise(Player player, Action action, EquipmentSlot slo if (mainHandItem.getType() == Material.PLAYER_HEAD && action == Action.RIGHT_CLICK_BLOCK) return false; - if (!morphs.doQuickDisguise(player, true) - && ItemUtils.isSkillActivateItem(mainHandItem)) + if (ItemUtils.isSkillActivateItem(mainHandItem) + && !morphs.doQuickDisguise(player, true)) { if (InventoryGui.getOpen(player) == null) {