If any nonbasic lands are tapped for mana while a player is casting a spell or activating an ability, Burning Earth’s ability will trigger that many times and wait. When the player finishes casting that spell or activating that ability, Burning Earth’s triggered abilities are put on the stack on top of it. Burning Earth’s abilities will resolve first.