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