String numbers = transporter.substring(4); ParsedBayInfo pbi = new ParsedBayInfo(numbers, usedBayNumbers); e.addTransporter(new Bay(pbi.getSize(), pbi.getDoors(), pbi.getBayNumber())); } else if (transporter.startsWith("protomechbay:", 0)) { String numbers = transporter.substring(13);