ArtixAllMighty/mods — pull request #2 by rich1051414 (2013-06-12 22:40:10+00:00)
Title: Simplified Plot searching, fixed a config issue.

Plot searching is different now, however, it still does the job and it doesn't get stuck, it gives up after 100 iterations. It always moves diagonally so if you die on a portal, it wont break the portal. Also, if you die above lava, it doesn't make a gravestone at all.

First it locates the first solid block below you, then it iterates diagonally, and then it moves up if it is no longer in an air block until an air block is found, and then continues in a loop until it finds 2 solid blocks with an air-block on top

If the y makes it up to 512, it gives up and no tombstone is made.
If the y makes it down to 0, it gives up and no tombstone is made.
If the search moves diagonally 100 times and still not satisfied, it gives up and no tombstone is made.
If the tombstone finds itself in lava only after the first ground check, it will continue searching for solid ground.