mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-09-12 00:56:53 +02:00
Changed to new get_sky method
This commit is contained in:
parent
3922c5bdca
commit
866711a4aa
@ -182,8 +182,9 @@ lightning.register_on_strike(function(pos, pos2, objects)
|
||||
for i = 1, #playerlist do
|
||||
local player = playerlist[i]
|
||||
local sky = {}
|
||||
local sky_table = player:get_sky(true)
|
||||
|
||||
sky.bgcolor, sky.type, sky.textures = player:get_sky()
|
||||
sky.bgcolor, sky.type, sky.textures = sky_table.base_color, sky_table.type, sky_table.textures
|
||||
|
||||
local name = player:get_player_name()
|
||||
if ps[name] == nil then
|
||||
|
Loading…
Reference in New Issue
Block a user