diff options
-rw-r--r-- | support.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support.lua b/support.lua index 4295744..e6ca811 100644 --- a/support.lua +++ b/support.lua @@ -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
|