diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-05-12 18:48:23 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-05-12 18:48:23 -0400 |
commit | 0f313120fe54fbd6bc4a3eccf5caaad7faa97001 (patch) | |
tree | 50c27cd09008b05225d2de6f23808c36eae22af8 /technic/machines | |
parent | ec3d07f8296dce357f7147a4c834a97329d1ef11 (diff) | |
download | dreambuilder_modpack-0f313120fe54fbd6bc4a3eccf5caaad7faa97001.tar dreambuilder_modpack-0f313120fe54fbd6bc4a3eccf5caaad7faa97001.tar.gz dreambuilder_modpack-0f313120fe54fbd6bc4a3eccf5caaad7faa97001.tar.bz2 dreambuilder_modpack-0f313120fe54fbd6bc4a3eccf5caaad7faa97001.tar.xz dreambuilder_modpack-0f313120fe54fbd6bc4a3eccf5caaad7faa97001.zip |
updated castle, colormachine, homedecor, mesecons, pipeworks, signs_lib, technic, and xban2
Diffstat (limited to 'technic/machines')
-rw-r--r-- | technic/machines/register/common.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/technic/machines/register/common.lua b/technic/machines/register/common.lua index ce0eee6..dfa2948 100644 --- a/technic/machines/register/common.lua +++ b/technic/machines/register/common.lua @@ -157,13 +157,13 @@ function technic.machine_after_dig_node(pos, oldnode, oldmetadata, player) if oldmetadata.inventory.upgrade1 and oldmetadata.inventory.upgrade1[1] then local stack = ItemStack(oldmetadata.inventory.upgrade1[1]) if not stack:is_empty() then - minetest.item_drop(stack, "", pos) + minetest.add_item(pos, stack) end end if oldmetadata.inventory.upgrade2 and oldmetadata.inventory.upgrade2[1] then local stack = ItemStack(oldmetadata.inventory.upgrade2[1]) if not stack:is_empty() then - minetest.item_drop(stack, "", pos) + minetest.add_item(pos, stack) end end end |