mirror of
https://github.com/minetest-mods/i3.git
synced 2025-03-20 11:40:27 +01:00
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user