On my server if you fight an npc with range and then attempt to switch weapon in combat to melee it says you can use this item with arrows or you have ran out of arrows. Once you switch back to the same range or mage gear your fine.

Any suggestions???