Fixed some warnings + blockremove bugfix.

A check for a blockremove did not ignore the player itself while
raycasting.