If there is no non-basic land to destroy, the ability does nothing.

Artwork
Loading artwork…
Ravenous Baboons
Exodus · #97 · EN
Nonfoil—Foil—
Card rules
When this creature enters, destroy target nonbasic land.
2/2
Build something and the baboons will tear it down. Leave the pieces lying and they will scatter them.
Rare · Illustrated by Daren Bader
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Premodern Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You have to pick one of your own non-basic lands if the opponent does not have any and you do.