protected void drawHudLine(int thisLine, String thisString) {
        String currentHudLine = getHudValueString("MyHudLine" + thisLine);

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

            if (offset != 0) {
                player.sendText(TrekAnsi.locate(thisLine, offset + 1, player) + getOptimizedOutput(currentHudLine, thisString));
                // System.out.println("offset: " + offset + "\r\ncurrent:" + currentHudLine + "\r\noptimized:" + getOptimizedOutput( currentHudLine, thisString ));
            } else {
                player.sendText(TrekAnsi.locate(thisLine, 1, player) + thisString);
            }

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