fix: remove annoying log

This commit is contained in:
goat 2021-09-01 19:51:06 +02:00
parent 412a335b93
commit f6a68bac6e
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -75,9 +75,8 @@ namespace Dalamud.Game.Internal
private IntPtr AtkUnitBaseReceiveGlobalEventDetour(AtkUnitBase* thisPtr, ushort cmd, uint a3, IntPtr a4, uint* a5)
{
Log.Information($"cmd:{cmd} a3:{a3} a4:{a4:x} a5:{*a5}");
var di = Service<DalamudInterface>.Get();
// "Close Addon"
if (cmd == 12 && di.WindowSystem.HasAnyFocus)
return IntPtr.Zero;