If the targeted land is an illegal target by the time Desecrated Earth resolves, the entire spell doesn’t resolve. No one discards a card.

Artwork
Loading artwork…
Desecrated Earth
Zendikar · #86 · EN
Nonfoil—Foil—
Card rules
Destroy target land. Its controller discards a card.
"The land is swollen with mana, cursed relics, and secrets. If you puncture it, you never know what will burst out." —Javad Nasrin, Ondu relic hunter
Common · Illustrated by Daarken
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pioneer Not Legal
Premodern 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