Untangling the mods.

This commit is contained in:
Ottermandias 2023-04-17 09:35:54 +02:00
parent 1d82e882ed
commit 4972dd1c9f
39 changed files with 883 additions and 935 deletions

View file

@ -26,10 +26,10 @@ public class HttpApi : IDisposable
private readonly IPenumbraApi _api;
private WebServer? _server;
public HttpApi(IPenumbraApi api)
public HttpApi(Configuration config, IPenumbraApi api)
{
_api = api;
if (Penumbra.Config.EnableHttpApi)
if (config.EnableHttpApi)
CreateWebServer();
}