[walking_light] Update to Git patch e70ac7e:

https://github.com/AntumDeluge/mtmod-walking_light/tree/e70ac7e
master
AntumDeluge 2017-06-08 02:10:06 -07:00
parent 7094955f82
commit cd5c094782
2 changed files with 5 additions and 5 deletions

View File

@ -547,7 +547,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.technic]: https://github.com/AntumDeluge/mtmod-technic/tree/3577609
[patch.throwing]: https://github.com/AntumDeluge/mtmod-throwing/tree/7b48d90
[patch.trash_can]: https://github.com/AntumDeluge/mtmod-trash_can/tree/5a92bf4
[patch.walking_light]: https://github.com/AntumDeluge/mtmod-walking_light/tree/8084572
[patch.walking_light]: https://github.com/AntumDeluge/mtmod-walking_light/tree/e70ac7e
[patch.windmill]: https://github.com/AntumDeluge/mtmod-windmill/tree/7756ab4
[patch.workbench]: https://github.com/AntumDeluge/mtmod-workbench/tree/b964323
[patch.worldedge]: https://github.com/AntumDeluge/mtmod-worldedge/tree/3ff6429

View File

@ -94,7 +94,7 @@ function mt_get_node_or_nil(pos)
print(debug.traceback("Current Callstack:\n"))
return nil
end
return minetest.env:get_node_or_nil(pos)
return minetest.get_node_or_nil(pos)
end
function mt_add_node(pos, sometable)
@ -108,7 +108,7 @@ function mt_add_node(pos, sometable)
print(debug.traceback("Current Callstack:\n"))
return nil
end
minetest.env:add_node(pos,sometable)
minetest.add_node(pos,sometable)
end
function round(num)
@ -408,7 +408,7 @@ end
local function update_light_all()
-- go through all players to check
for i,player_name in ipairs(players) do
local player = minetest.env:get_player_by_name(player_name)
local player = minetest.get_player_by_name(player_name)
update_light_player(player)
end
end
@ -483,7 +483,7 @@ end)
minetest.register_globalstep(function(dtime)
for i,player_name in ipairs(players) do
local player = minetest.env:get_player_by_name(player_name)
local player = minetest.get_player_by_name(player_name)
if player ~= nil then
update_light_player(player)
else