I think isSolid works better than checking if it's air.