add optional loot mod support

This commit is contained in:
FaceDeer
2017-02-11 12:02:30 -07:00
parent 6a56592ecc
commit 3355729f06
4 changed files with 71 additions and 6 deletions

4
mg.lua
View File

@ -4,6 +4,10 @@ More Ores: `mg` mod support
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
if not minetest.get_modpath("mg") then
return
end
if moreores.tin_enabled then
mg.register_ore({