1
0
Fork 0

Set max_stack of Lava, Water and Emtpy buckets to 1

objects
Code-Sploit 2021-03-16 12:54:33 +00:00
parent 77167e901d
commit f06a56d7c4
1 changed files with 2 additions and 2 deletions

View File

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