mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
More 5.1 fixes or maybe not who knows
This commit is contained in:
parent
dfec31d89c
commit
799f5ef634
10 changed files with 169 additions and 25 deletions
|
|
@ -32,7 +32,8 @@ namespace Dalamud.Game.ClientState
|
|||
/// <summary>
|
||||
/// The local player character, if one is present.
|
||||
/// </summary>
|
||||
public PlayerCharacter LocalPlayer { get; private set; }
|
||||
//public PlayerCharacter LocalPlayer { get; private set; }
|
||||
public PlayerCharacter LocalPlayer => (PlayerCharacter) this.Actors[0];
|
||||
|
||||
/// <summary>
|
||||
/// The content ID of the local character.
|
||||
|
|
@ -67,8 +68,7 @@ namespace Dalamud.Game.ClientState
|
|||
}
|
||||
|
||||
private void FrameworkOnOnUpdateEvent(Framework framework) {
|
||||
LocalPlayer = (PlayerCharacter) this.Actors[0];
|
||||
Log.Verbose("FRAMEWORK UPDATE");
|
||||
//LocalPlayer = (PlayerCharacter) this.Actors[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue