mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Make penumbra initialization before game code has run possible.
This commit is contained in:
parent
f13893cf77
commit
9ae843731d
19 changed files with 610 additions and 672 deletions
|
|
@ -29,8 +29,11 @@ public unsafe class ResidentResourceManager
|
|||
// Reload certain player resources by force.
|
||||
public void Reload()
|
||||
{
|
||||
PluginLog.Debug( "Reload of resident resources triggered." );
|
||||
UnloadPlayerResources.Invoke( Address );
|
||||
LoadPlayerResources.Invoke( Address );
|
||||
if( Address != null && Address->NumResources > 0 )
|
||||
{
|
||||
PluginLog.Debug( "Reload of resident resources triggered." );
|
||||
UnloadPlayerResources.Invoke( Address );
|
||||
LoadPlayerResources.Invoke( Address );
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue