super.addEquipment(mounted, loc, rearMounted);
if (getEquipmentNum(mounted)==-1) super.addEquipment(mounted, loc, rearMounted);
    public void addEquipment(Mounted mounted, int loc, boolean rearMounted)        throws LocationFullException     {        // if there's no actual location, then don't add criticals        if (loc == LOC_NONE) {            super.addEquipment(mounted, loc, rearMounted);            return;        }                // spreadable or split equipment only gets added to 1 crit at a time,         // since we don't know how many are in this location        int slots = mounted.getType().getCriticals(this);        if (mounted.getType().isSpreadable() || mounted.isSplit()) {            slots = 1;        }                // check criticals for space        if(getEmptyCriticals(loc) < slots) {            throw new LocationFullException(mounted.getName() + " does not fit in " + getLocationAbbr(loc) + " on " + getDisplayName() + "\n        free criticals in location: " + getEmptyCriticals(loc) + ", criticals needed: " + slots);        }                // add it        super.addEquipment(mounted, loc, rearMounted);        // add criticals        int num = getEquipmentNum(mounted);                        for(int i = 0; i < slots; i++) {            addCritical(loc, new CriticalSlot(CriticalSlot.TYPE_EQUIPMENT, num, mounted.getType().isHittable()));        }            }    