Merge pull request #227 from InitialDet/master

PluginLog inside OnFrameworkUpdate
This commit is contained in:
Ottermandias 2022-07-02 00:42:29 +02:00 committed by GitHub
commit 0af0449814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 );