mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-26 17:43:47 +01:00
Remove redundant dispenser code
This commit is contained in:
@ -153,13 +153,6 @@ local dispenserdef = {
|
|||||||
minetest.add_item(droppos, dropitem)
|
minetest.add_item(droppos, dropitem)
|
||||||
end
|
end
|
||||||
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
|
elseif igroups.head or igroups.shulker_box or iname == "mcl_farming:pumpkin_face" then
|
||||||
-- Place head, shulker box, or pumpkin
|
-- Place head, shulker box, or pumpkin
|
||||||
|
Reference in New Issue
Block a user