mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-21 23:17:43 +01:00
avoid static where reasonable
This commit is contained in:
parent
62a58663ff
commit
9ba9e049fb
2 changed files with 6 additions and 5 deletions
|
|
@ -43,7 +43,7 @@ namespace Glamourer
|
|||
Designs = new DesignManager();
|
||||
Penumbra = new PenumbraAttach(Config.AttachToPenumbra);
|
||||
PlayerWatcher = PlayerWatchFactory.Create(Dalamud.Framework, Dalamud.ClientState, Dalamud.Objects);
|
||||
GlamourerIpc = new(Dalamud.Objects, pluginInterface);
|
||||
GlamourerIpc = new GlamourerIpc(Dalamud.ClientState, Dalamud.Objects, Dalamud.PluginInterface);
|
||||
if (!Config.ApplyFixedDesigns)
|
||||
PlayerWatcher.Disable();
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ namespace Glamourer
|
|||
public void OnGlamourer(string command, string arguments)
|
||||
=> _interface.ToggleVisibility();
|
||||
|
||||
public static GameObject? GetPlayer(string name)
|
||||
private static GameObject? GetPlayer(string name)
|
||||
{
|
||||
var lowerName = name.ToLowerInvariant();
|
||||
return lowerName switch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue