Change small part of buckets code

This commit is contained in:
FossFanatic 2023-02-18 08:25:47 +00:00
parent 0abda8ff20
commit d3253ecf4f
1 changed files with 1 additions and 2 deletions

View File

@ -61,9 +61,8 @@ local function sound_take(itemname, pos)
end
local function place_liquid(pos, itemstring)
local fullness = registered_nodes[itemstring].liquid_range
sound_place(itemstring, pos)
add_node(pos, {name=itemstring, param2=fullness})
set_node(pos, {name=itemstring})
end
local function give_bucket(new_bucket, itemstack, user)