Fixes height adjustment for ruins.

How crap it's stupid the way this works. I really
need to overhaul the materials system to include meta data
like whether or not a block is solid, blocks snow, can attach
to a vines, etc so stuff like this can be cleaner.

Also, minor formatting.