From 1ab658afb771a88eb41f212574639f8dc1a994e7 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 26 Oct 2017 00:29:07 +0000 Subject: [PATCH] Removed change weapon while attacking prohibition. --- .../gameserver/network/clientpackets/UseItem.java | 10 +++++----- .../gameserver/network/clientpackets/UseItem.java | 10 +++++----- .../gameserver/network/clientpackets/UseItem.java | 10 +++++----- .../gameserver/network/clientpackets/UseItem.java | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java index d6412dc382..53925fd826 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java @@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket { ThreadPoolManager.schedule(() -> { - // If character is still engaged in strike we should not change weapon - if (activeChar.isAttackingNow()) - { - return; - } + // Removed for preventing retail behavior. + // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon + // { + // return; + // } // Equip or unEquip activeChar.useEquippableItem(item, false); diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java index d6412dc382..53925fd826 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java @@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket { ThreadPoolManager.schedule(() -> { - // If character is still engaged in strike we should not change weapon - if (activeChar.isAttackingNow()) - { - return; - } + // Removed for preventing retail behavior. + // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon + // { + // return; + // } // Equip or unEquip activeChar.useEquippableItem(item, false); diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java index d6412dc382..53925fd826 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java @@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket { ThreadPoolManager.schedule(() -> { - // If character is still engaged in strike we should not change weapon - if (activeChar.isAttackingNow()) - { - return; - } + // Removed for preventing retail behavior. + // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon + // { + // return; + // } // Equip or unEquip activeChar.useEquippableItem(item, false); diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java index d6412dc382..53925fd826 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/UseItem.java @@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket { ThreadPoolManager.schedule(() -> { - // If character is still engaged in strike we should not change weapon - if (activeChar.isAttackingNow()) - { - return; - } + // Removed for preventing retail behavior. + // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon + // { + // return; + // } // Equip or unEquip activeChar.useEquippableItem(item, false);