1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

fix that jail_data could jail a nil player

This commit is contained in:
Gerkiz 2020-07-06 23:21:32 +02:00
parent c8feb9649d
commit 31d388f590

View File

@ -216,6 +216,10 @@ Event.add(
return
end
if not game.players[griefer] then
return
end
if event.player_index then
local player = game.players[event.player_index]
p = player.print