forked from minetest/minetest_game
A previous fix overwrote the `def` variable during registration, causing protected doors no longer to be placed with protection.
A previous fix overwrote the `def` variable during registration, causing protected doors no longer to be placed with protection.