forked from VoxeLibre/VoxeLibre
Set max_stack of Lava, Water and Emtpy buckets to 1
This commit is contained in:
parent
77167e901d
commit
f06a56d7c4
|
@ -65,7 +65,7 @@ function mcl_buckets.register_liquid(def)
|
||||||
_doc_items_usagehelp = def.usagehelp,
|
_doc_items_usagehelp = def.usagehelp,
|
||||||
_tt_help = def.tt_help,
|
_tt_help = def.tt_help,
|
||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
stack_max = 16,
|
stack_max = 1,
|
||||||
groups = def.groups,
|
groups = def.groups,
|
||||||
on_place = function(itemstack, user, pointed_thing)
|
on_place = function(itemstack, user, pointed_thing)
|
||||||
-- Must be pointing to node
|
-- Must be pointing to node
|
||||||
|
@ -177,7 +177,7 @@ minetest.register_craftitem("mcl_buckets:bucket_empty", {
|
||||||
|
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
inventory_image = "bucket.png",
|
inventory_image = "bucket.png",
|
||||||
stack_max = 16,
|
stack_max = 1,
|
||||||
on_place = function(itemstack, user, pointed_thing)
|
on_place = function(itemstack, user, pointed_thing)
|
||||||
-- Must be pointing to node
|
-- Must be pointing to node
|
||||||
if pointed_thing.type ~= "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
|
|
Loading…
Reference in New Issue