diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-09-26 00:11:57 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-09-26 00:11:57 -0400 |
commit | 3d08b568ad1da1e3259a66cb91fd1039781c75cb (patch) | |
tree | 59c396f503f3946b8757093f5c90605fe9f91d07 /moreblocks/init.lua | |
parent | 4aab7d0dbd782cf6741bdbba94440faf0c5c2e61 (diff) | |
download | dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar.gz dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar.bz2 dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar.xz dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.zip |
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
Diffstat (limited to 'moreblocks/init.lua')
-rw-r--r-- | moreblocks/init.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/moreblocks/init.lua b/moreblocks/init.lua index 5e7fc6b..c12f5e0 100644 --- a/moreblocks/init.lua +++ b/moreblocks/init.lua @@ -11,8 +11,12 @@ Licensed under the zlib license. See LICENSE.md for more information. moreblocks = {} local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() +if minetest.global_exists("intllib") then + if intllib.make_gettext_pair then + S = intllib.make_gettext_pair() + else + S = intllib.Getter() + end else S = function(s) return s end end @@ -28,6 +32,6 @@ dofile(modpath .. "/redefinitions.lua") dofile(modpath .. "/crafting.lua") dofile(modpath .. "/aliases.lua") -if minetest.setting_getbool("log_mods") then +if minetest.settings:get_bool("log_mods") then minetest.log("action", S("[moreblocks] loaded.")) end |