Added additinal opperation to prevent spawning in solid blocks