bug attacking with the melee sword fixed