mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Change small part of buckets code
This commit is contained in:
parent
0abda8ff20
commit
d3253ecf4f
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue