mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #2466 from Haselnussbomber/playerstate-ctor-fix
Some checks failed
Build Dalamud / Build on Windows (push) Waiting to run
Build Dalamud / Check API Compatibility (push) Blocked by required conditions
Build Dalamud / Deploy dalamud-distrib staging (push) Blocked by required conditions
Rollup changes to next version / check (api14) (push) Failing after 4s
Tag Build / Tag Build (push) Successful in 2s
Some checks failed
Build Dalamud / Build on Windows (push) Waiting to run
Build Dalamud / Check API Compatibility (push) Blocked by required conditions
Build Dalamud / Deploy dalamud-distrib staging (push) Blocked by required conditions
Rollup changes to next version / check (api14) (push) Failing after 4s
Tag Build / Tag Build (push) Successful in 2s
Add empty ServiceConstructor to PlayerState
This commit is contained in:
commit
1822ef1808
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ namespace Dalamud.Game.Player;
|
|||
[ResolveVia<IPlayerState>]
|
||||
internal unsafe class PlayerState : IServiceType, IPlayerState
|
||||
{
|
||||
[ServiceManager.ServiceConstructor]
|
||||
private PlayerState()
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsLoaded => CSPlayerState.Instance()->IsLoaded;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue