[areas] Update to Git commit d3d43d9 & patch eef1203:
Commit: https://github.com/ShadowNinja/areas/tree/d3d43d9 Patch: https://github.com/AntumDeluge/mtmod-areas/tree/eef1203master
parent
d808de1ec3
commit
7184c7d88e
|
@ -82,7 +82,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
* [playeranim][] ([BSD 2-Clause][lic.playeranim]) - version [0ca8e5a Git][ver.playeranim] *2016-12-07* ([patched][patch.playeranim])
|
||||
* [wardrobe][] ([WTFPL][lic.wtfpl]) -- version: [1.1-2-c48b011 Git][ver.wardrobe] *2015-05-21*
|
||||
* protection/
|
||||
* [areas][] ([LGPL][lic.lgpl2.1]) -- version [6080ff0 Git][ver.areas] *2016-11-25* ([patched][patch.areas])
|
||||
* [areas][] ([LGPL][lic.lgpl2.1]) -- version [d3d43d9 Git][ver.areas] *2017-05-06* ([patched][patch.areas])
|
||||
* [simple_protection][] ([WTFPL][lic.wtfpl]) -- version [23c024f Git][ver.simple_protection] *2017-01-07*
|
||||
* signs/
|
||||
* [signs_lib][] ([BSD][lic.signs_lib] / [WTFPL][lic.wtfpl]) -- version: [3e00159 Git][ver.signs_lib] *2017-05-20*
|
||||
|
@ -396,7 +396,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[ver.animalmaterials]: https://github.com/sapier/animalmaterials/tree/d952d27
|
||||
[ver.animals]: https://github.com/sapier/animals_modpack/tree/b9d0172
|
||||
[ver.antum]: https://github.com/AntumDeluge/mtmp-antum/tree/2a0e695
|
||||
[ver.areas]: https://github.com/ShadowNinja/areas/tree/6080ff0
|
||||
[ver.areas]: https://github.com/ShadowNinja/areas/tree/d3d43d9
|
||||
[ver.awards]: https://github.com/minetest-mods/awards/tree/096fe16
|
||||
[ver.away]: https://github.com/kahrl/minetest-mod-away/tree/4c1e5a9
|
||||
[ver.bags]: https://github.com/cornernote/minetest-bags/tree/f17d829
|
||||
|
@ -492,7 +492,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[patch.adv_spawning]: https://github.com/AntumDeluge/mtmod-adv_spawning/tree/e73c0aa
|
||||
[patch.advtrains]: https://github.com/AntumDeluge/mtmp-advtrains/tree/26f8bf4
|
||||
[patch.animals]: https://github.com/AntumDeluge/mtmp-animals_modpack/tree/ad4c5da
|
||||
[patch.areas]: https://github.com/AntumDeluge/mtmod-areas/tree/db074be
|
||||
[patch.areas]: https://github.com/AntumDeluge/mtmod-areas/tree/eef1203
|
||||
[patch.bags]: https://github.com/AntumDeluge/mtmod-bags/tree/4363284
|
||||
[patch.bedrock2]: https://github.com/AntumDeluge/mtmod-bedrock2/tree/0375ac1
|
||||
[patch.campfire]: https://github.com/AntumDeluge/mtmod-campfire/tree/67b9dd7
|
||||
|
|
|
@ -7,7 +7,7 @@ Configuration
|
|||
|
||||
If you wish to specify configuration options, such as whether players are
|
||||
allowed to protect their own areas with the `protect` command (disabled by
|
||||
default), you should check config.lua and set the appropriate settings in your
|
||||
default), you should check settings.lua and set the appropriate settings in your
|
||||
server's configuration file (probably `minetest.conf`).
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ if not minetest.registered_privileges[areas.config.self_protection_privilege] th
|
|||
})
|
||||
end
|
||||
|
||||
if minetest.setting_getbool("log_mod") then
|
||||
if minetest.settings:get_bool("log_mod") then
|
||||
local diffTime = os.clock() - areas.startTime
|
||||
minetest.log("action", "areas loaded in "..diffTime.."s.")
|
||||
end
|
||||
|
|
|
@ -6,13 +6,13 @@ local function setting(tp, name, default)
|
|||
local full_name = "areas."..name
|
||||
local value
|
||||
if tp == "boolean" then
|
||||
value = minetest.setting_getbool(full_name)
|
||||
value = minetest.settings:get_bool(full_name)
|
||||
elseif tp == "string" then
|
||||
value = minetest.setting_get(full_name)
|
||||
value = minetest.settings:get(full_name)
|
||||
elseif tp == "position" then
|
||||
value = minetest.setting_get_pos(full_name)
|
||||
elseif tp == "number" then
|
||||
value = tonumber(minetest.setting_get(full_name))
|
||||
value = tonumber(minetest.settings:get(full_name))
|
||||
else
|
||||
error("Invalid setting type!")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue