diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-10-30 08:45:29 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-10-30 08:45:29 +0100 |
commit | c7e9c7c160cb790f89b9ffce1ef6d4986e395948 (patch) | |
tree | 747875317749ca15dd0be25e29f050e52e84460a /deployer.lua | |
parent | dc1ef38a580406015ca18bd683615f27d9aabb50 (diff) |
Fix node breaker crash.
Diffstat (limited to 'deployer.lua')
-rw-r--r-- | deployer.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deployer.lua b/deployer.lua index 49d556b..b8a4850 100644 --- a/deployer.lua +++ b/deployer.lua @@ -100,7 +100,7 @@ function hacky_swap_node(pos,name) meta:from_table(meta0) end -function delay(x) +local function delay(x) return (function() return x end) end @@ -121,7 +121,6 @@ deployer_on = function(pos, node) local invlist = inv:get_list("main") for i, stack in ipairs(invlist) do if stack:get_name() ~= nil and stack:get_name() ~= "" and minetest.get_node(pos_under).name == "air" then --obtain the first non-empty item slot - local empty_function = function() return end local pitch local yaw if dir.z < 0 then |