delete redundant check

This commit is contained in:
Vanessa Ezekowitz 2014-05-24 21:20:31 -04:00
parent fd3c88eb86
commit ec8796f8d3
1 changed files with 1 additions and 1 deletions

View File

@ -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!