mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-09 17:23:49 +01:00
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,
|
||||
_tt_help = def.tt_help,
|
||||
inventory_image = def.inventory_image,
|
||||
stack_max = 16,
|
||||
stack_max = 1,
|
||||
groups = def.groups,
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
-- Must be pointing to node
|
||||
@ -177,7 +177,7 @@ minetest.register_craftitem("mcl_buckets:bucket_empty", {
|
||||
|
||||
liquids_pointable = true,
|
||||
inventory_image = "bucket.png",
|
||||
stack_max = 16,
|
||||
stack_max = 1,
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
-- Must be pointing to node
|
||||
if pointed_thing.type ~= "node" then
|
||||
|
Loading…
Reference in New Issue
Block a user