mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 04:34:19 +01:00
Add debug tab for meta changes (pretty useless...) and maybe fix reset problem.
This commit is contained in:
parent
b7b15532f8
commit
b359c18360
4 changed files with 37 additions and 7 deletions
|
|
@ -160,7 +160,7 @@ public unsafe partial class PathResolver
|
|||
var ret = _characterBaseCreateHook.Original( a, b, c, d );
|
||||
using( meta )
|
||||
{
|
||||
if( LastGameObject != null )
|
||||
if( LastGameObject != null && ret != IntPtr.Zero )
|
||||
{
|
||||
_drawObjectToObject[ ret ] = ( _lastCreatedCollection!, LastGameObject->ObjectIndex );
|
||||
CreatedCharacterBase?.Invoke( ( IntPtr )LastGameObject, _lastCreatedCollection!.ModCollection, ret );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue