[mp_technic] Update to Git patch 66876a1:

https://github.com/AntumDeluge/mtmod-technic/tree/66876a1
master
AntumDeluge 2017-05-13 04:46:42 -07:00
parent 6665dd8c40
commit bfec38d328
4 changed files with 5 additions and 5 deletions

View File

@ -507,7 +507,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.signs_lib]: https://github.com/AntumDeluge/mtmod-signs_lib/tree/770978c
[patch.spawneggs]: https://github.com/AntumDeluge/mtmod-spawneggs/tree/b47f49f
[patch.spidermob]: https://github.com/AntumDeluge/mtmod-spidermob/tree/00b6107
[patch.technic]: https://github.com/AntumDeluge/mtmod-technic/tree/9649cee
[patch.technic]: https://github.com/AntumDeluge/mtmod-technic/tree/66876a1
[patch.trash_can]: https://github.com/AntumDeluge/mtmod-trash_can/tree/5a92bf4
[patch.unifieddyes]: https://github.com/AntumDeluge/mtmod-unifieddyes/tree/df3f1b1
[patch.walking_light]: https://github.com/AntumDeluge/mtmod-walking_light/tree/00ebab8

View File

@ -5,7 +5,7 @@
local load_start = os.clock()
technic = rawget(_G, "technic") or {}
technic.creative_mode = minetest.setting_getbool("creative_mode")
technic.creative_mode = minetest.settings:get_bool("creative_mode")
local modpath = minetest.get_modpath("technic")
@ -47,7 +47,7 @@ dofile(modpath.."/tools/init.lua")
-- Aliases for legacy node/item names
dofile(modpath.."/legacy.lua")
if minetest.setting_getbool("log_mods") then
if minetest.settings:get_bool("log_mods") then
print(S("[Technic] Loaded in %f seconds"):format(os.clock() - load_start))
end

View File

@ -3,7 +3,7 @@ local S = technic.getter
frames = {}
local infinite_stacks = minetest.setting_getbool("creative_mode") and minetest.get_modpath("unified_inventory") == nil
local infinite_stacks = minetest.settings:get_bool("creative_mode") and minetest.get_modpath("unified_inventory") == nil
local frames_pos = {}

View File

@ -344,7 +344,7 @@ local function dmg_abm(pos, node)
end
end
if minetest.setting_getbool("enable_damage") then
if minetest.settings:get_bool("enable_damage") then
minetest.register_abm({
label = "Radiation damage",
nodenames = {"group:radioactive"},