fixes for handling gameobjects

This commit is contained in:
rootdarkarchon
2023-02-17 10:06:21 +01:00
parent 0c48508dbc
commit 7f36e80e2a
3 changed files with 5 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<PropertyGroup>
<Authors></Authors>
<Company></Company>
<Version>0.7.29</Version>
<Version>0.7.30</Version>
<Description></Description>
<Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -38,7 +38,7 @@ public class MareMediator : IDisposable
}
catch (Exception ex)
{
Logger.Error("Error executing " + subscriber, ex);
Logger.Error("Error executing " + message.GetType() + " for subscriber " + subscriber + ", removing from Mediator", ex);
subscribers.RemoveWhere(s => s == subscriber);
}
}

View File

@@ -30,7 +30,7 @@ public class GameObjectHandler : MediatorSubscriberBase
return $"{Name} (Addr: {Address.ToString("X")}, DrawObj: {DrawObjectAddress.ToString("X")})";
}
public IntPtr CurrentAddress
private IntPtr CurrentAddress
{
get
{
@@ -91,6 +91,8 @@ public class GameObjectHandler : MediatorSubscriberBase
_haltProcessing = false;
}
});
CheckAndUpdateObject();
}
private void FrameworkUpdate()