From a98b0c08af8a181f95dcaad3b340038f5d8ad113 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Tue, 11 May 2021 00:20:46 +0200 Subject: [PATCH] Fix crash with pipeworks --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index fb6a486..b4c66d6 100644 --- a/init.lua +++ b/init.lua @@ -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