mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Maybe fix crashes.
This commit is contained in:
parent
afcb481dd2
commit
2ebbb227f7
1 changed files with 5 additions and 0 deletions
|
|
@ -189,6 +189,11 @@ namespace Penumbra.PlayerWatch
|
|||
|
||||
private void OnFrameworkUpdate( object framework )
|
||||
{
|
||||
if( _pi.ClientState.LocalPlayer == null )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var actors = _pi.ClientState.Actors;
|
||||
|
||||
var newInGPose = actors[ GPosePlayerActorIdx ] != null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue