diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-10-27 15:13:31 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-10-27 15:13:31 -0400 |
commit | 6281dc744dc3951234931a9f44c3bdd353f79df7 (patch) | |
tree | 0ead0d0d18be58bed7480cb9a5ea1495230c568f /pipeworks/filter-injector.lua | |
parent | 2e6082ccdbd121cd5fc0f82a931ac01ac00dcb76 (diff) | |
download | dreambuilder_modpack-6281dc744dc3951234931a9f44c3bdd353f79df7.tar dreambuilder_modpack-6281dc744dc3951234931a9f44c3bdd353f79df7.tar.gz dreambuilder_modpack-6281dc744dc3951234931a9f44c3bdd353f79df7.tar.bz2 dreambuilder_modpack-6281dc744dc3951234931a9f44c3bdd353f79df7.tar.xz dreambuilder_modpack-6281dc744dc3951234931a9f44c3bdd353f79df7.zip |
updated boost cart, homedecor modpack, castles modpack, currency, farming-redo,
maptools, mesecons, moreblocks, moreores, pipeworks, quartz
Diffstat (limited to 'pipeworks/filter-injector.lua')
-rw-r--r-- | pipeworks/filter-injector.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pipeworks/filter-injector.lua b/pipeworks/filter-injector.lua index c9d132f..0f651fb 100644 --- a/pipeworks/filter-injector.lua +++ b/pipeworks/filter-injector.lua @@ -115,7 +115,7 @@ local function grabAndFire(data,slotseq_mode,exmatch_mode,filtmeta,frominv,fromi local stack = frominv:get_stack(frominvname, spos) local doRemove = stack:get_count() if fromtube.can_remove then - doRemove = fromtube.can_remove(frompos, fromnode, stack, dir) + doRemove = fromtube.can_remove(frompos, fromnode, stack, dir, frominvname, spos) elseif fromdef.allow_metadata_inventory_take then doRemove = fromdef.allow_metadata_inventory_take(frompos, frominvname,spos, stack, fakePlayer) end @@ -146,7 +146,7 @@ local function grabAndFire(data,slotseq_mode,exmatch_mode,filtmeta,frominv,fromi end if fromtube.remove_items then -- it could be the entire stack... - item = fromtube.remove_items(frompos, fromnode, stack, dir, count) + item = fromtube.remove_items(frompos, fromnode, stack, dir, count, frominvname, spos) else item = stack:take_item(count) frominv:set_stack(frominvname, spos, stack) |