summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-06 23:02:39 -0300
committerDiego Martínez <kaeza@users.noreply.github.com>2017-03-06 23:02:39 -0300
commit186f9b70ac9efef4a1672f6822e6c22d31928dc4 (patch)
tree5107e4e76b4656634927ac979fed3b19660f3f5f
parent67d5a88d05c529c2026e241c72e772a51b5dbd53 (diff)
Temporary fix for crash in constructor.
-rw-r--r--technic/machines/other/constructor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/other/constructor.lua b/technic/machines/other/constructor.lua
index 3396ac7..9c64051 100644
--- a/technic/machines/other/constructor.lua
+++ b/technic/machines/other/constructor.lua
@@ -21,7 +21,7 @@ local function deploy_node(inv, slot_name, pos, node, machine_node)
end
if remove_to then
for i = 1, remove_to do
- inv:remove_item(drops[i])
+ inv:remove_item(slot_name, drops[i])
end
else
minetest.remove_node(pos)