1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-11-13 05:40:34 +01:00
This commit is contained in:
Andrew Ward 2012-12-17 17:43:56 +00:00
parent ed0f8e255f
commit 9d35da3411

View File

@ -11,8 +11,10 @@
print "Food [Support] - Initialising"
function node_implement(modname,n_ext,n_int,resultfunc)
if not minetest.get_modpath(modname) then
-- Mod is NOT installed
resultfunc()
else
-- Mod IS installed
minetest.register_alias(n_int,n_ext)
end
end