From 748b5d4a4bee6d876b5c346af69771f3b67b24dd Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 19 Sep 2019 00:35:28 +0200 Subject: [PATCH] Localize a variable --- mods/ITEMS/mcl_core/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 215db3f080..9eec03d072 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -648,7 +648,7 @@ function mcl_core.get_grass_block_type(pos) local biome_name = minetest.get_biome_name(biome) local reg_biome = minetest.registered_biomes[biome_name] if reg_biome then - biome_type = reg_biome._mcl_biome_type + local biome_type = reg_biome._mcl_biome_type dry = biome_type == "hot" end end