inventoryImports: Fixed chat errors when players are dead

This commit is contained in:
Danielv123 committed 2018-04-15 12:02:46 +02:00
1 parent 6c966e2c29
commit 2c2bbb71b4
2 files changed
+2 -2

No files matched your search

@@ -28,7 +28,7 @@ game.print(o)
local o = '{"players":{'
local notFirst = false
for a,b in pairs(game.players) do
if b.connected then
if b.connected and b.character then
if notFirst then
o = o .. ','
else