mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2025-03-14 16:50:23 +01:00
Prevent warning for accessing missing global
This commit is contained in:
parent
0724b0dda9
commit
82fb4906aa
@ -19,7 +19,7 @@ if minetest.get_modpath("default") then
|
||||
},
|
||||
})
|
||||
end
|
||||
if farming and farming.mod == "redo" then
|
||||
if minetest.global_exists("farming") and farming.mod == "redo" then
|
||||
minetest.register_craft({
|
||||
output = "home_vending_machines:sweet_machine",
|
||||
recipe = {
|
||||
@ -29,4 +29,4 @@ if minetest.get_modpath("default") then
|
||||
},
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user