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:
Det 2022-06-30 19:06:54 -03:00
parent f00fe54bb3
commit c66a09dea3

View file

@ -301,7 +301,11 @@ internal class PlayerWatchBase : IDisposable
var id = GetId( character );
SeenActors.Add( id );
#if DEBUG
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 ) )
{
equip = new CharacterEquipment( character );