if ( next.canLoad( unit ) ) {
if ( next.canLoad( unit ) && unit.getElevation() == getElevation() ) {
    public boolean canLoad( Entity unit ) {        // one can only load one's own units!        if (unit.getOwnerId() == this.getOwnerId()) {            // Walk through this entity's transport components;            // if one of them can load the unit, we can.            Enumeration iter = this.transports.elements();            while ( iter.hasMoreElements() ) {                Transporter next = (Transporter)iter.nextElement();                if ( next.canLoad( unit ) ) {                    return true;                }            }        }        // If we got here, none of our transports can carry the unit.        return false;    }