[moreblocks] Update to Git commit 786f9e4:

https://github.com/AntumDeluge/mtmod-moreblocks/tree/786f9e4
This commit is contained in:
AntumDeluge 2017-05-13 04:38:43 -07:00
parent df4cf8aa91
commit 88e087650f
5 changed files with 7 additions and 6 deletions

View File

@ -20,7 +20,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
* [christmas][] ([MIT][lic.christmas]) -- version [d3bd872 Git][ver.christmas] *2013-01-11* ([patched][patch.christmas])
* [elevator][] ([WTFPL][lic.elevator])
* [fort_spikes][] ([MIT][lic.fort_spikes] / [CC0][lic.cc0]) -- version: [2765b56 Git][ver.fort_spikes] *2017-04-07* ([patched][patch.fort_spikes])
* [moreblocks][] ([zlib][lic.moreblocks]) -- version: [fbfb079 Git][ver.moreblocks] *2017-03-14*
* [moreblocks][] ([zlib][lic.moreblocks]) -- version: [fbfb079 Git][ver.moreblocks] *2017-03-14* ([patched][patch.moreblocks])
* [stairsplus][] ([zlib][lic.stairsplus]) -- version: [311e1f0 Git][ver.stairsplus] *2013-05-30*
* [windmill][] ([WTFPL][lic.windmill]) -- version: [47b029d Git][ver.windmill] *2014-08-21* ([patched][patch.windmill])
* [campfire][] ([GPL][lic.gpl2.0] / [CC BY-SA][lic.ccbysa] / [WTFPL][lic.campfire]) -- version: [b45acd2 Git][ver.campfire] *2016-02-18* ([patched][patch.campfire])
@ -496,6 +496,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.mobf_core]: https://github.com/AntumDeluge/mtmp-mobf_core/tree/e6fa3b7
[patch.mobs_goblins]: https://github.com/AntumDeluge/mtmod-mobs_goblins/tree/8813304
[patch.mobs_redo]: https://github.com/AntumDeluge/mtmod-mobs_redo/tree/58e123a
[patch.moreblocks]: https://github.com/AntumDeluge/mtmod-moreblocks/tree/786f9e4
[patch.moremesecons]: https://github.com/AntumDeluge/mtmp-moremesecons/tree/caa71bc
[patch.moreores]: https://github.com/AntumDeluge/mtmod-moreores/tree/2172c49
[patch.mydoors]: https://github.com/AntumDeluge/mtmp-mydoors/tree/e36c9d1

View File

@ -8,7 +8,7 @@ Licensed under the zlib license. See LICENSE.md for more information.
moreblocks.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("moreblocks." .. name, default)
else
moreblocks.config[name] =
minetest.setting_get("moreblocks." .. name) or default
minetest.settings:get("moreblocks." .. name) or default
end
end

View File

@ -454,7 +454,7 @@ minetest.register_craft({
}
})
if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
if minetest.settings:get_bool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
minetest.register_craft({
output = "moreblocks:circular_saw",
recipe = {

View File

@ -28,6 +28,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

View File

@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
stairsplus.shapes_list = {}
if not minetest.get_modpath("unified_inventory")
and minetest.setting_getbool("creative_mode") then
and minetest.settings:get_bool("creative_mode") then
stairsplus.expect_infinite_stacks = true
end