mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-27 06:50:18 +02:00
Add local keyword to check function's local variable in compressor recipes
This commit is contained in:
parent
ec646b2059
commit
c92e8f796a
|
@ -11,7 +11,7 @@ end
|
||||||
-- Function for cases where multiple mods exist with the same name,
|
-- Function for cases where multiple mods exist with the same name,
|
||||||
-- to check if we have the right one.
|
-- to check if we have the right one.
|
||||||
local function is_right_mod(dependency)
|
local function is_right_mod(dependency)
|
||||||
is_right = true
|
local is_right = true
|
||||||
|
|
||||||
if dependency == "nether" then
|
if dependency == "nether" then
|
||||||
is_right = minetest.registered_nodes["nether:brick_compressed"] ~= nil
|
is_right = minetest.registered_nodes["nether:brick_compressed"] ~= nil
|
||||||
|
|
Loading…
Reference in New Issue
Block a user