diff --git a/mods/ITEMS/mcl_potions/init.lua b/mods/ITEMS/mcl_potions/init.lua index 495a484ec..944778525 100644 --- a/mods/ITEMS/mcl_potions/init.lua +++ b/mods/ITEMS/mcl_potions/init.lua @@ -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)