Add lava and water check to block handlers.