I had noticed that if a player logged off, had LC removed, or if the server crashed, they would fall and take damage. To prevent this I have implemented a quick-fix which teleports the player to the highest available block.
Known bugs:
The player is put inside the highest block, instead of above it, meaning that if the block has no other block beneath it, they will fall through that block.