Fix spelling mistake in variable name.

This commit is contained in:
Phaethon H 2021-10-24 16:10:52 -07:00
parent fd8182c74c
commit 6ed5865aff
1 changed files with 1 additions and 1 deletions

View File

@ -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)