if (wtype.getAmmoType() == AmmoType.T_AC_ROTARY && mounted.isJammed()) {
if (wtype.getAmmoType() == AmmoType.T_AC_ROTARY && mounted.isJammed() && !mounted.isDestroyed()) {
      public boolean canUnjamRAC() {          for (Enumeration i = weaponList.elements(); i.hasMoreElements();) {              Mounted mounted = (Mounted)i.nextElement();              WeaponType wtype = (WeaponType)mounted.getType();              if (wtype.getAmmoType() == AmmoType.T_AC_ROTARY && mounted.isJammed()) {                  return true;              }          }          return false;      }