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:
parent
c8feb9649d
commit
31d388f590
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user