off code toilet

This commit is contained in:
tony-ka 2012-08-02 23:31:22 +02:00
parent f470e68090
commit 5dad740cbc

View File

@ -75,6 +75,7 @@ local on_lamp_puncher = function (pos, node, puncher)
end
end
--[[
local on_toilet_puncher = function (pos, node, puncher)
if node.name == '3dforniture:toilet' then
local dir = node["param2"]
@ -86,6 +87,7 @@ local on_toilet_puncher = function (pos, node, puncher)
nodeupdate(pos)
end
end
]]
minetest.register_on_punchnode(on_lamp_puncher)
minetest.register_on_punchnode(on_toilet_puncher)
--minetest.register_on_punchnode(on_toilet_puncher)