Fix issue #2: “Crash with mg mod”, cleanup.

This commit is contained in:
Calinou 2015-01-06 20:35:38 +01:00
parent 806c3a7ff3
commit b9c8011b53
4 changed files with 19 additions and 29 deletions

View File

@ -1,9 +1,9 @@
zlib license
============
Copyright (c) 2011-2014 Calinou and contributors
Copyright (c) 2011-2015 Calinou and contributors
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
**This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.**
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

11
README.md Normal file
View File

@ -0,0 +1,11 @@
More Ores
=========
More Ores for Minetest <http://minetest.net>, a free/libre infinite
world block sandbox game.
To install, just clone this repository into your "mods" directory.
More Ores code is licensed under the zlib license, textures are by Calinou and are licensed under CC BY-SA 3.0 Unported.
**Forum topic:** <https://forum.minetest.net/viewtopic.php?f=11&t=549>

View File

@ -1,22 +0,0 @@
Calinou's Minetest Mods
=====================
Calinou's Mods for Minetest [http://minetest.net], a free and opensource Minecraft-like game.
This Git repository is mostly made for servers; it allows easy updating.
To install, just clone this repository somewhere, then copy the "calinou_mods" folder in the "mods/minetest" folder of Minetest's installation folder.
Misc stuff
=====================
All these mods' source codes, except More Ores are under the zlib/libpng license. More Ores is under the GNU GPLv3; the mods' textures are under the CC BY-SA 3.0 Unported.
Mods' forum threads:
More Blocks: http://minetest.net/forum/viewtopic.php?id=509
More Ores: http://minetest.net/forum/viewtopic.php?id=549
Map Tools: http://minetest.net/forum/viewtopic.php?id=1882
Doors+: http://minetest.net/forum/viewtopic.php?id=2059
Stairs+: http://minetest.net/forum/viewtopic.php?id=2092

View File

@ -3,7 +3,7 @@
** More Ores **
By Calinou, with the help of Nore.
Copyright (c) 2011-2014 Calinou and contributors.
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.txt for more information.
======================================================================
--]]
@ -19,6 +19,11 @@ local modpath = minetest.get_modpath("moreores")
dofile(modpath .. "/_config.txt")
-- `mg` support:
if minetest.get_modpath("mg") then
dofile(modpath .. "/mg.lua")
end
-- Utility functions
-- =================
@ -354,10 +359,6 @@ minetest.register_node("moreores:copper_rail", {
},
})
-- `mg` support:
if minetest.get_modpath("mg") then
dofile(moreores_modpath.."/mg.lua")
end
if minetest.setting_getbool("log_mods") then
minetest.log("action", S("[moreores] loaded."))