mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-19 14:27:50 +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 )
|
private void OnFrameworkUpdate( object framework )
|
||||||
{
|
{
|
||||||
|
if( _pi.ClientState.LocalPlayer == null )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var actors = _pi.ClientState.Actors;
|
var actors = _pi.ClientState.Actors;
|
||||||
|
|
||||||
var newInGPose = actors[ GPosePlayerActorIdx ] != null;
|
var newInGPose = actors[ GPosePlayerActorIdx ] != null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue