From 72c32fa13e76d0af69bb02dd256b704f62d42420 Mon Sep 17 00:00:00 2001 From: gabriel1379 Date: Fri, 19 Apr 2024 07:05:44 +0200 Subject: [PATCH] Revert "Add local keyword to check function's local variable in compressor recipes" This reverts commit c92e8f796abbd261ef4e97c210c182665ac5b5ba. --- technic/machines/register/compressor_recipes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/register/compressor_recipes.lua b/technic/machines/register/compressor_recipes.lua index 89dd437..ae40703 100644 --- a/technic/machines/register/compressor_recipes.lua +++ b/technic/machines/register/compressor_recipes.lua @@ -11,7 +11,7 @@ end -- Function for cases where multiple mods exist with the same name, -- to check if we have the right one. local function is_right_mod(dependency) - local is_right = true + is_right = true if dependency == "nether" then is_right = minetest.registered_nodes["nether:brick_compressed"] ~= nil