L2JMobius

C6 Removal of MoveToLocation archer check

Mobius · 2 · 6487

Online Mobius

  • Distinguished King
  • *****
    • Posts: 16153
Removal of MoveToLocation archer check after latest changes.
Needs test.
Code: [Select]
Index: java/org/l2jmobius/gameserver/model/actor/Creature.java
===================================================================
--- java/org/l2jmobius/gameserver/model/actor/Creature.java (revision 7557)
+++ java/org/l2jmobius/gameserver/model/actor/Creature.java (working copy)
@@ -5517,16 +5517,6 @@
  getActingPlayer().sendPacket(ActionFailed.STATIC_PACKET);
  return;
  }
-
- // Fix archer bug with movement/hittask
- if (isAttackingNow())
- {
- final ItemInstance rhand = getActingPlayer().getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
- if (((rhand != null) && (rhand.getItemType() == WeaponType.BOW)))
- {
- return;
- }
- }
  }
 
  // Get the Move Speed of the Creature