Changed teleport

Rewrote how the teleport dealt with teleporting into solid blocks.