forked from MineClone5/MineClone5
Make buckets collect water on rightclick
This commit is contained in:
parent
b2af0f6eef
commit
fbcac65fbc
|
@ -109,7 +109,7 @@ minetest.register_craftitem("bucket:bucket_empty", {
|
||||||
inventory_image = "bucket.png",
|
inventory_image = "bucket.png",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
on_use = 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
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue