forked from VoxeLibre/VoxeLibre
Fix spelling mistake in variable name.
This commit is contained in:
parent
fd8182c74c
commit
6ed5865aff
|
@ -103,7 +103,7 @@ local function give_to_cauldron (pos, node, itemstack, placer, substance)
|
|||
if fit > 0 then
|
||||
-- sufficiently low level, add; old contents are lost.
|
||||
local newnode = mcl_cauldrons.fill_levels(node, mcl_cauldrons.BOTTLEFUL, substance)
|
||||
if node ~= new_node then
|
||||
if node ~= newnode then
|
||||
-- change happened
|
||||
minetest.set_node(pos, newnode)
|
||||
minetest.sound_play("mcl_potions_bottle_pour", {pos=pos, gain=0.5, max_hear_range=16}, true)
|
||||
|
|
Loading…
Reference in New Issue