protected void clearObject(int position, String hudValue) {
        String buffer = "                                    ";
        if (!getHudValueString(hudValue).equals(buffer)) {
            player.sendText(TrekAnsi.locate(position + 3, 23, player) + buffer);
            setHudValue(hudValue, buffer);
        }
    }