From: Auke Kok Date: Fri, 15 Jan 2016 08:35:07 +0000 (-0800) Subject: Allow trapdoors to be rotated all ways. X-Git-Tag: 0.4.14~157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f41314185e1102cdd66534100f1411939d9e76bc;p=oweals%2Fminetest_game.git Allow trapdoors to be rotated all ways. There really is no reason to prevent rotation in trapdoors, I expect this to be an oversight. Trapdoors work perfectly well sideways, upside down and can work like fences, gates and more. Most commonly, people will want to put them in the top half of the node so they remain flush with a floor. --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 92b42669..c8b69c43 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -451,8 +451,6 @@ function doors.register_trapdoor(name, def) minetest.swap_node(pos, {name = newname, param1 = node.param1, param2 = node.param2}) end - def.on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple - -- Common trapdoor configuration def.drawtype = "nodebox" def.paramtype = "light"