Add local keyword to check function's local variable in compressor recipes

This commit is contained in:
gabriel1379 2024-04-13 21:17:57 +02:00
parent ec646b2059
commit c92e8f796a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
is_right = true
local is_right = true
if dependency == "nether" then
is_right = minetest.registered_nodes["nether:brick_compressed"] ~= nil