Correcting nonexisting class error WeaponGenData