add protection support for signs
(ported from minetest_game)