mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-21 17:15:32 +01:00
Reverted moreblocks and maptools updates
This commit is contained in:
23
mods/moreblocks/init.lua
Normal file → Executable file
23
mods/moreblocks/init.lua
Normal file → Executable file
@@ -1,22 +1,20 @@
|
||||
--[[
|
||||
=====================================================================
|
||||
** More Blocks **
|
||||
By Calinou, with the help of ShadowNinja and VanessaE.
|
||||
|
||||
Copyright (c) 2011-2015 Calinou and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
=====================================================================
|
||||
-- More Blocks (moreblocks) by Calinou
|
||||
-- Licensed under the zlib/ license for code and CC BY-SA 3.0 for textures, see LICENSE.txt for info.
|
||||
--]]
|
||||
|
||||
moreblocks = {}
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
-- Load translation library if intllib is installed
|
||||
|
||||
local S -- Load translation library if intllib is installed:
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
moreblocks.intllib = S
|
||||
moreblocks.gettext = S
|
||||
|
||||
local modpath = minetest.get_modpath("moreblocks")
|
||||
|
||||
@@ -29,5 +27,6 @@ dofile(modpath .. "/crafting.lua")
|
||||
dofile(modpath .. "/aliases.lua")
|
||||
|
||||
if minetest.setting_getbool("log_mods") then
|
||||
minetest.log("action", S("[moreblocks] loaded."))
|
||||
print(S("[moreblocks] loaded."))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user