Fix crash with pipeworks

This commit is contained in:
Jean-Patrick Guerrero 2021-05-11 00:20:46 +02:00
parent e0166288c6
commit a98b0c08af
1 changed files with 1 additions and 0 deletions

View File

@ -2251,6 +2251,7 @@ local function make_fs(player, data)
end
function i3.set_fs(player, _fs)
if not player or player.is_fake_player then return end
local name = player:get_player_name()
local data = pdata[name]
if not data then return end