mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
CharacterUtility bug test
This commit is contained in:
parent
12837bbdca
commit
d15ebddf18
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ public unsafe class CharacterUtility : IDisposable
|
|||
// The initial function in which all the character resources get loaded.
|
||||
public delegate void LoadDataFilesDelegate( Structs.CharacterUtility* characterUtility );
|
||||
|
||||
[Signature( "E8 ?? ?? ?? 00 48 8D 8E ?? ?? 00 00 E8 ?? ?? ?? 00 33 D2" )]
|
||||
[Signature( "E8 ?? ?? ?? 00 48 8D 8E ?? ?? 00 00 E8 ?? ?? ?? 00 33 D2", DetourName = "LoadDataFilesDetour")]
|
||||
public Hook< LoadDataFilesDelegate > LoadDataFilesHook = null!;
|
||||
|
||||
public Structs.CharacterUtility* Address
|
||||
|
|
@ -57,7 +57,7 @@ public unsafe class CharacterUtility : IDisposable
|
|||
{
|
||||
SignatureHelper.Initialise( this );
|
||||
|
||||
if( Address->EqpResource != null )
|
||||
if( Address->EqpResource != null && Address->EqpResource->Data != null )
|
||||
{
|
||||
LoadDefaultResources();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue