Fix discord alerts for entity protection (#298)

This commit is contained in:
2024-06-13 06:01:47 +09:00
committed by GitHub
parent 779adff212
commit f47f51a8fc

View File

@@ -105,7 +105,7 @@ if config.entity_protection then
color=Colors.yellow,
['Player']='<inline>' .. append_playtime(player_name),
['Entity']='<inline>' .. event.entity.name,
['Location']=event.entity.position
['Location']='X ' .. event.entity.position.x .. ' Y ' .. event.entity.position.y
}
end)
end
@@ -300,4 +300,4 @@ Event.add(defines.events.on_console_command, function(event)
}
end
end
end)
end)