Removed change weapon while attacking prohibition.
This commit is contained in:
parent
c381449217
commit
1ab658afb7
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user