summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-05-24 21:20:31 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-05-24 21:20:31 -0400
commitec8796f8d38474a13ddd01a8402417e19003bc65 (patch)
treeeef73ff3dddb90032f126956d35216be64352cbd
parentfd3c88eb861eac35760ebcb27c9519097aa9f176 (diff)
downloadpipeworks-ec8796f8d38474a13ddd01a8402417e19003bc65.tar
pipeworks-ec8796f8d38474a13ddd01a8402417e19003bc65.tar.gz
pipeworks-ec8796f8d38474a13ddd01a8402417e19003bc65.tar.bz2
pipeworks-ec8796f8d38474a13ddd01a8402417e19003bc65.tar.xz
pipeworks-ec8796f8d38474a13ddd01a8402417e19003bc65.zip
delete redundant check
-rw-r--r--deployer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployer.lua b/deployer.lua
index cfcc794..40b5883 100644
--- a/deployer.lua
+++ b/deployer.lua
@@ -94,7 +94,7 @@ local function deployer_on(pos, node)
}
local pointed_thing = {type="node", under=pos_under, above=pos_above}
local stack2
- if minetest.registered_items[stack:get_name()] and minetest.registered_items[stack:get_name()] then
+ if minetest.registered_items[stack:get_name()] then
stack2 = minetest.registered_items[stack:get_name()].on_place(stack, placer, pointed_thing)
end
--if minetest.setting_getbool("creative_mode") and not minetest.get_modpath("unified_inventory") then --infinite stacks ahoy!