Added permissions check and a check if the location is in water or lava.

But the water/lava check doesn't seem to work yet.