Make buckets collect water on rightclick

This commit is contained in:
Wuzzy 2017-01-12 01:34:41 +01:00
parent b2af0f6eef
commit fbcac65fbc

View file

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