[moreblocks] Update to Git patch b52a403:
For compatiblity with stable server build. https://github.com/AntumDeluge/mtmod-moreblocks/tree/b52a403master
parent
fa28e6edb3
commit
34d8128778
|
@ -518,7 +518,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.moreblocks]: https://github.com/AntumDeluge/mtmod-moreblocks/tree/b52a403
|
||||
[patch.moremesecons]: https://github.com/AntumDeluge/mtmp-moremesecons/tree/cae948e
|
||||
[patch.moreores]: https://github.com/AntumDeluge/mtmod-moreores/tree/8b874f6
|
||||
[patch.mydoors]: https://github.com/AntumDeluge/mtmp-mydoors/tree/e36c9d1
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
unused_args = false
|
||||
allow_defined_top = true
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest", "core",
|
||||
"dump",
|
||||
"vector", "nodeupdate",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"intllib",
|
||||
"default",
|
||||
}
|
||||
|
|
@ -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.settings:get_bool(setting)
|
||||
local value = minetest.setting_getbool(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.settings:get("moreblocks." .. name) or default
|
||||
minetest.setting_get("moreblocks." .. name) or default
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -454,7 +454,7 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
if minetest.settings:get_bool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
|
||||
if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then”
|
||||
minetest.register_craft({
|
||||
output = "moreblocks:circular_saw",
|
||||
recipe = {
|
||||
|
|
|
@ -28,6 +28,6 @@ dofile(modpath .. "/redefinitions.lua")
|
|||
dofile(modpath .. "/crafting.lua")
|
||||
dofile(modpath .. "/aliases.lua")
|
||||
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
if minetest.setting_getbool("log_mods") then
|
||||
minetest.log("action", S("[moreblocks] loaded."))
|
||||
end
|
||||
|
|
|
@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
|
|||
stairsplus.shapes_list = {}
|
||||
|
||||
if not minetest.get_modpath("unified_inventory")
|
||||
and minetest.settings:get_bool("creative_mode") then
|
||||
and minetest.setting_getbool("creative_mode") then
|
||||
stairsplus.expect_infinite_stacks = true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue