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",
stack_max = 1,
liquids_pointable = true,
on_use = function(itemstack, user, pointed_thing)
on_place = function(itemstack, user, pointed_thing)
-- Must be pointing to node
if pointed_thing.type ~= "node" then
return