summaryrefslogtreecommitdiff
path: root/homedecor/climate-control.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-20 18:34:18 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-20 18:34:18 -0500
commitcfe869ba0fbcb163bc354ca29ce7d9a6fb016009 (patch)
tree8d116a097f825b816bec7ccf1f07257bb565304b /homedecor/climate-control.lua
parent362bdef1e2bf1348e3492d82a643f75c5c177304 (diff)
downloaddreambuilder_modpack-cfe869ba0fbcb163bc354ca29ce7d9a6fb016009.tar
dreambuilder_modpack-cfe869ba0fbcb163bc354ca29ce7d9a6fb016009.tar.gz
dreambuilder_modpack-cfe869ba0fbcb163bc354ca29ce7d9a6fb016009.tar.bz2
dreambuilder_modpack-cfe869ba0fbcb163bc354ca29ce7d9a6fb016009.tar.xz
dreambuilder_modpack-cfe869ba0fbcb163bc354ca29ce7d9a6fb016009.zip
update homedecor
Diffstat (limited to 'homedecor/climate-control.lua')
-rw-r--r--homedecor/climate-control.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/homedecor/climate-control.lua b/homedecor/climate-control.lua
index bb68583..b47960d 100644
--- a/homedecor/climate-control.lua
+++ b/homedecor/climate-control.lua
@@ -59,7 +59,7 @@ homedecor.register("desk_fan", {
meta:set_string("active", "no")
add_mesh_desk_fan_entity(pos)
end,
- on_punch = function(pos)
+ on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local meta = minetest.get_meta(pos)
local entities = minetest.get_objects_inside_radius(pos, 0.1)
local entity = entities[1] or add_mesh_desk_fan_entity(pos)