diff options
Diffstat (limited to 'maptools')
-rw-r--r-- | maptools/CHANGELOG.md | 4 | ||||
-rw-r--r-- | maptools/config.lua | 4 | ||||
-rw-r--r-- | maptools/depends.txt | 2 | ||||
-rw-r--r-- | maptools/description.txt | 1 | ||||
-rw-r--r-- | maptools/init.lua | 4 | ||||
-rw-r--r-- | maptools/mod.conf | 3 |
6 files changed, 9 insertions, 9 deletions
diff --git a/maptools/CHANGELOG.md b/maptools/CHANGELOG.md index 2892512..900458e 100644 --- a/maptools/CHANGELOG.md +++ b/maptools/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changed + +- The minimum supported Minetest version is now 5.0.0. + ## [1.1.0] - 2019-03-23 ### Changed diff --git a/maptools/config.lua b/maptools/config.lua index 56d0e2d..466491e 100644 --- a/maptools/config.lua +++ b/maptools/config.lua @@ -8,7 +8,7 @@ Licensed under the zlib license. See LICENSE.md for more information. maptools.config = {} local function getbool_default(setting, default) - local value = minetest.setting_getbool(setting) + local value = minetest.settings:get_bool(setting) if value == nil then value = default end @@ -21,7 +21,7 @@ local function setting(settingtype, name, default) getbool_default("maptools." .. name, default) else maptools.config[name] = - minetest.setting_get("maptools." .. name) or default + minetest.settings:get("maptools." .. name) or default end end diff --git a/maptools/depends.txt b/maptools/depends.txt deleted file mode 100644 index 9207dab..0000000 --- a/maptools/depends.txt +++ /dev/null @@ -1,2 +0,0 @@ -default -intllib? diff --git a/maptools/description.txt b/maptools/description.txt deleted file mode 100644 index 43bbfde..0000000 --- a/maptools/description.txt +++ /dev/null @@ -1 +0,0 @@ -Adds various special versions of normal blocks, tools, and other map maintainer tools. diff --git a/maptools/init.lua b/maptools/init.lua index a7ae4a5..c8d5336 100644 --- a/maptools/init.lua +++ b/maptools/init.lua @@ -27,7 +27,3 @@ maptools.drop_msg = function(itemstack, player) local name = player:get_player_name() minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!")) end - -if minetest.setting_getbool("log_mods") then - minetest.log("action", S("[maptools] loaded.")) -end diff --git a/maptools/mod.conf b/maptools/mod.conf index a77ffe2..363f651 100644 --- a/maptools/mod.conf +++ b/maptools/mod.conf @@ -1 +1,4 @@ name = maptools +description = Adds various special versions of normal blocks, tools, and other map maintainer tools. +depends = default +optional_depends = intllib |