Change small part of buckets code
This commit is contained in:
parent
0abda8ff20
commit
d3253ecf4f
|
@ -61,9 +61,8 @@ local function sound_take(itemname, pos)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function place_liquid(pos, itemstring)
|
local function place_liquid(pos, itemstring)
|
||||||
local fullness = registered_nodes[itemstring].liquid_range
|
|
||||||
sound_place(itemstring, pos)
|
sound_place(itemstring, pos)
|
||||||
add_node(pos, {name=itemstring, param2=fullness})
|
set_node(pos, {name=itemstring})
|
||||||
end
|
end
|
||||||
|
|
||||||
local function give_bucket(new_bucket, itemstack, user)
|
local function give_bucket(new_bucket, itemstack, user)
|
||||||
|
|
Loading…
Reference in New Issue