public boolean correctEntity(StringBuffer buff) { boolean correct = true; if (skip()) return true; if (!correctWeight(buff)) { buff.insert(0, printTechLevel()+printShortMovement()); buff.append(printWeightCalculation()).append("\n"); correct = false; } if (!engine.engineValid) { buff.append(engine.problem.toString()).append("\n\n"); correct = false; } if (showCorrectArmor() && !correctArmor(buff)) correct = false; if (showCorrectCritical() && !correctCriticals(buff)) correct = false; if (showFailedEquip() && hasFailedEquipment(buff)) correct = false; if (hasIllegalTechLevels(buff)) correct = false; return correct;
public boolean correctEntity(StringBuffer buff) { return correctEntity(buff, true);
    public boolean correctEntity(StringBuffer buff)    {        boolean correct = true;        if (skip())            return true;        if (!correctWeight(buff))        {            buff.insert(0, printTechLevel()+printShortMovement());            buff.append(printWeightCalculation()).append("\n");            correct = false;        }        if (!engine.engineValid)        {            buff.append(engine.problem.toString()).append("\n\n");            correct = false;        }        if (showCorrectArmor() && !correctArmor(buff))            correct = false;        if (showCorrectCritical() && !correctCriticals(buff))            correct = false;        if (showFailedEquip() && hasFailedEquipment(buff))            correct = false;        if (hasIllegalTechLevels(buff))            correct = false;        return correct;    }