mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 14:04:15 +01:00
fixes for handling gameobjects
This commit is contained in:
parent
0c48508dbc
commit
7f36e80e2a
3 changed files with 5 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>0.7.29</Version>
|
<Version>0.7.30</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public class MareMediator : IDisposable
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
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);
|
subscribers.RemoveWhere(s => s == subscriber);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ public class GameObjectHandler : MediatorSubscriberBase
|
||||||
return $"{Name} (Addr: {Address.ToString("X")}, DrawObj: {DrawObjectAddress.ToString("X")})";
|
return $"{Name} (Addr: {Address.ToString("X")}, DrawObj: {DrawObjectAddress.ToString("X")})";
|
||||||
}
|
}
|
||||||
|
|
||||||
public IntPtr CurrentAddress
|
private IntPtr CurrentAddress
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|
@ -91,6 +91,8 @@ public class GameObjectHandler : MediatorSubscriberBase
|
||||||
_haltProcessing = false;
|
_haltProcessing = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
CheckAndUpdateObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void FrameworkUpdate()
|
private void FrameworkUpdate()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue