jjkoletar/MineResetLite — pull request #12 by phrstbrn (2013-07-24 20:51:35+00:00)
Title: Add extra checks to make sure we don't accidentally suffocate player

If blocks directly above the mine are not air, we could potentially suffocate the player. This checks the two top blocks to make sure they are air, and if they're not, TPs them to the highest spot (surface?) on the X, Z coordinate.

This additionally fixes an edge case where standing in one of the corners may not TP you out of the mine.