A judge granted a temporary restraing order Friday for Avila to play just days before the season begins