Fix crash with pipeworks
This commit is contained in:
parent
e0166288c6
commit
a98b0c08af
1
init.lua
1
init.lua
|
@ -2251,6 +2251,7 @@ local function make_fs(player, data)
|
||||||
end
|
end
|
||||||
|
|
||||||
function i3.set_fs(player, _fs)
|
function i3.set_fs(player, _fs)
|
||||||
|
if not player or player.is_fake_player then return end
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
local data = pdata[name]
|
local data = pdata[name]
|
||||||
if not data then return end
|
if not data then return end
|
||||||
|
|
Ŝarĝante…
Reference in New Issue