From: Vanessa Ezekowitz Date: Sun, 25 May 2014 01:20:31 +0000 (-0400) Subject: delete redundant check X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ec8796f8d38474a13ddd01a8402417e19003bc65;p=zefram%2Fminetest%2Fpipeworks.git delete redundant check --- 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!