protected void clearMessages() {
        player.sendText(TrekAnsi.clearRow(22, player));
        player.sendText(TrekAnsi.clearRow(23, player));
        player.sendText(TrekAnsi.clearRow(24, player));

        setHudValue("MyHudLine22", format("", "", 79));
        setHudValue("MyHudLine23", format("", "", 79));
        setHudValue("MyHudLine24", format("", "", 79));
    }