mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
PluginLog at OnFrameworkUpdate
When using Fixed Designs with Glamourer, this line goes really wild for being on OnFrameworkUpdate, so I thought it would be nice to have it only when debugging.
This commit is contained in:
parent
f00fe54bb3
commit
c66a09dea3
1 changed files with 4 additions and 0 deletions
|
|
@ -301,7 +301,11 @@ internal class PlayerWatchBase : IDisposable
|
||||||
|
|
||||||
var id = GetId( character );
|
var id = GetId( character );
|
||||||
SeenActors.Add( id );
|
SeenActors.Add( id );
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
PluginLog.Verbose( "Comparing Gear for {PlayerName:l} ({Id}) at 0x{Address:X}...", character.Name, id, character.Address.ToInt64() );
|
PluginLog.Verbose( "Comparing Gear for {PlayerName:l} ({Id}) at 0x{Address:X}...", character.Name, id, character.Address.ToInt64() );
|
||||||
|
#endif
|
||||||
|
|
||||||
if( !watch.FoundActors.TryGetValue( id, out var equip ) )
|
if( !watch.FoundActors.TryGetValue( id, out var equip ) )
|
||||||
{
|
{
|
||||||
equip = new CharacterEquipment( character );
|
equip = new CharacterEquipment( character );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue