Use world.isAirBlock instead of checking id the id is 0