Make sure if you're including the Arma c'bow in the methods with Rune c'bows, use "||" not "&&".
This happened to me too, but I ended up getting rid of that stupid method and re-writing it.
Get rid of that part where it says that message and replace with:
Code:
if (!usingCross
&& !usingArrows
&& usingBow
&& (c.playerEquipment[c.playerWeapon] < 4212 || c.playerEquipment[c.playerWeapon] > 4223)) {
c.sendMessage("You have run out of arrows!");
c.stopMovement();
c.npcIndex = 0;
return;
}
if (usingBow && properBolts() && !usingCross) {
c.sendMessage("You can't use bolts with a bow.");
c.stopMovement();
resetPlayerAttack();
return;
}
if (c.playerEquipment[c.playerWeapon] == 15004 && !properBolts()
) {
c.sendMessage("You must use bolts with a crossbow.");
c.stopMovement();
resetPlayerAttack();
return;
}
if (c.playerEquipment[c.playerWeapon] == 9185 && !properBolts()
) {
c.sendMessage("You must use bolts with a crossbow.");
c.stopMovement();
resetPlayerAttack();
return;
}
Do the same with ClickNPC.java and AttackPlayer.java