From 3bed1c5bf89b34ed7f03a1f43d5a794a4237fa60 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 30 Sep 2020 17:10:06 +0200 Subject: [PATCH] Fix accidental global in mcl_portals --- mods/ITEMS/mcl_portals/portal_nether.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_portals/portal_nether.lua b/mods/ITEMS/mcl_portals/portal_nether.lua index 55a925bc7..a9ec2af20 100644 --- a/mods/ITEMS/mcl_portals/portal_nether.lua +++ b/mods/ITEMS/mcl_portals/portal_nether.lua @@ -217,7 +217,7 @@ local function find_overworld_target_y(x, y, z) if not node then return target_y end - nn = node.name + local nn = node.name if nn ~= "air" and minetest.get_item_group(nn, "water") == 0 then target_y = target_y + 1 end