mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix pvp actor maybe.
This commit is contained in:
parent
80f02e5377
commit
e55ff791fe
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit 866f4c45bd21219a31d044c5eb55b162ee2bc0e2
|
Subproject commit b65f0a4e2a761a3142a07587a6c0f8657f1361ee
|
||||||
|
|
@ -251,7 +251,7 @@ public sealed partial class ActorManager : IDisposable
|
||||||
var obj = (GameObject*)_objects.GetObjectAddress(i);
|
var obj = (GameObject*)_objects.GetObjectAddress(i);
|
||||||
if (obj != null
|
if (obj != null
|
||||||
&& obj->ObjectKind is (byte)ObjectKind.Player
|
&& obj->ObjectKind is (byte)ObjectKind.Player
|
||||||
&& !CustomizeData.Equals((CustomizeData*)gameObject->CustomizeData, (CustomizeData*)((Character*)obj)->CustomizeData))
|
&& CustomizeData.Equals((CustomizeData*)gameObject->CustomizeData, (CustomizeData*)((Character*)obj)->CustomizeData))
|
||||||
return FromObject(obj, out _, false, true);
|
return FromObject(obj, out _, false, true);
|
||||||
}
|
}
|
||||||
return ActorIdentifier.Invalid;
|
return ActorIdentifier.Invalid;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue