Since he was stuck in the corner, I wouldn't be able to place a block without killing him. It's no problem.