mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
ClientState was set twice
This commit is contained in:
parent
4ee9db025a
commit
797bcade90
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ namespace Dalamud
|
||||||
Service<NetworkHandlers>.Set();
|
Service<NetworkHandlers>.Set();
|
||||||
Log.Information("[T2] NH OK!");
|
Log.Information("[T2] NH OK!");
|
||||||
|
|
||||||
Service<ClientState>.Set();
|
var clientState = Service<ClientState>.Set();
|
||||||
Log.Information("[T2] CS OK!");
|
Log.Information("[T2] CS OK!");
|
||||||
|
|
||||||
var localization = Service<Localization>.Set(new Localization(Path.Combine(this.AssetDirectory.FullName, "UIRes", "loc", "dalamud"), "dalamud_"));
|
var localization = Service<Localization>.Set(new Localization(Path.Combine(this.AssetDirectory.FullName, "UIRes", "loc", "dalamud"), "dalamud_"));
|
||||||
|
|
@ -210,7 +210,7 @@ namespace Dalamud
|
||||||
|
|
||||||
Log.Information("[T2] CH OK!");
|
Log.Information("[T2] CH OK!");
|
||||||
|
|
||||||
Service<ClientState>.Set().Enable();
|
clientState.Enable();
|
||||||
Log.Information("[T2] CS ENABLE!");
|
Log.Information("[T2] CS ENABLE!");
|
||||||
|
|
||||||
Service<DalamudSystemMenu>.Set().Enable();
|
Service<DalamudSystemMenu>.Set().Enable();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue