Removed change weapon while attacking prohibition.

This commit is contained in:
MobiusDev
2017-10-26 00:29:07 +00:00
parent c381449217
commit 1ab658afb7
4 changed files with 20 additions and 20 deletions

View File

@@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket
{ {
ThreadPoolManager.schedule(() -> ThreadPoolManager.schedule(() ->
{ {
// If character is still engaged in strike we should not change weapon // Removed for preventing retail behavior.
if (activeChar.isAttackingNow()) // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon
{ // {
return; // return;
} // }
// Equip or unEquip // Equip or unEquip
activeChar.useEquippableItem(item, false); activeChar.useEquippableItem(item, false);

View File

@@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket
{ {
ThreadPoolManager.schedule(() -> ThreadPoolManager.schedule(() ->
{ {
// If character is still engaged in strike we should not change weapon // Removed for preventing retail behavior.
if (activeChar.isAttackingNow()) // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon
{ // {
return; // return;
} // }
// Equip or unEquip // Equip or unEquip
activeChar.useEquippableItem(item, false); activeChar.useEquippableItem(item, false);

View File

@@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket
{ {
ThreadPoolManager.schedule(() -> ThreadPoolManager.schedule(() ->
{ {
// If character is still engaged in strike we should not change weapon // Removed for preventing retail behavior.
if (activeChar.isAttackingNow()) // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon
{ // {
return; // return;
} // }
// Equip or unEquip // Equip or unEquip
activeChar.useEquippableItem(item, false); activeChar.useEquippableItem(item, false);

View File

@@ -248,11 +248,11 @@ public final class UseItem implements IClientIncomingPacket
{ {
ThreadPoolManager.schedule(() -> ThreadPoolManager.schedule(() ->
{ {
// If character is still engaged in strike we should not change weapon // Removed for preventing retail behavior.
if (activeChar.isAttackingNow()) // if (activeChar.isAttackingNow()) // If character is still engaged in strike we should not change weapon
{ // {
return; // return;
} // }
// Equip or unEquip // Equip or unEquip
activeChar.useEquippableItem(item, false); activeChar.useEquippableItem(item, false);