mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Remove static Dalamud Services.
This commit is contained in:
parent
c49454fc25
commit
826777b7ee
16 changed files with 111 additions and 114 deletions
|
|
@ -293,10 +293,10 @@ public sealed unsafe partial class RedrawService : IDisposable
|
|||
}
|
||||
}
|
||||
|
||||
private static GameObject? GetLocalPlayer()
|
||||
private GameObject? GetLocalPlayer()
|
||||
{
|
||||
var gPosePlayer = DalamudServices.SObjects[GPosePlayerIdx];
|
||||
return gPosePlayer ?? DalamudServices.SObjects[0];
|
||||
var gPosePlayer = _objects[GPosePlayerIdx];
|
||||
return gPosePlayer ?? _objects[0];
|
||||
}
|
||||
|
||||
public bool GetName(string lowerName, out GameObject? actor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue