forked from mtcontrib/food
Comments
This commit is contained in:
parent
ed0f8e255f
commit
9d35da3411
|
@ -11,8 +11,10 @@
|
||||||
print "Food [Support] - Initialising"
|
print "Food [Support] - Initialising"
|
||||||
function node_implement(modname,n_ext,n_int,resultfunc)
|
function node_implement(modname,n_ext,n_int,resultfunc)
|
||||||
if not minetest.get_modpath(modname) then
|
if not minetest.get_modpath(modname) then
|
||||||
|
-- Mod is NOT installed
|
||||||
resultfunc()
|
resultfunc()
|
||||||
else
|
else
|
||||||
|
-- Mod IS installed
|
||||||
minetest.register_alias(n_int,n_ext)
|
minetest.register_alias(n_int,n_ext)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user