Doors: Fix potential crashes, code improvements
Doors: Fix potential crashes, code improvements

Fix crash when doors are placed under unknown nodes.
Share a can_dig among doors, that does not crash on nil-player.
Only set can_dig if we actually protect the door.

evrooije/beerarchy,evrooije/beerarchy,evrooije/beerarchy