Remove redundant dispenser code

This commit is contained in:
Wuzzy 2017-02-14 13:01:59 +01:00
parent 7232e8a3b3
commit b2ed3d7428

View file

@ -153,13 +153,6 @@ local dispenserdef = {
minetest.add_item(droppos, dropitem)
end
end
elseif iname == "bucket:bucket_water" then
-- Place water source
if dropnodedef.buildable_to then
minetest.set_node(droppos, {name = "mcl_core:water_source"})
inv:set_stack("main", stack_id, "bucket:bucket_empty")
end
elseif igroups.head or igroups.shulker_box or iname == "mcl_farming:pumpkin_face" then
-- Place head, shulker box, or pumpkin