protected void drawScannerLine(int thisLine, String thisString) {
        String currentScannerLine = getHudValueString("MyScannerLine" + thisLine);

        if (!currentScannerLine.equals(thisString)) {
            int offset = getOffset(currentScannerLine, thisString);

            if (offset != 0) {
                player.sendText(TrekAnsi.locate(thisLine, 60 + offset, player) + getOptimizedOutput(currentScannerLine, thisString) + TrekAnsi.eraseToEndOfLine(player));
            } else {
                player.sendText(TrekAnsi.locate(thisLine, 60, player) + thisString + TrekAnsi.eraseToEndOfLine(player));
            }

            setHudValue("MyScannerLine" + thisLine, thisString);
        }
    }