mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Api version bump and remove redundant framework thread call
Some checks failed
.NET Build / build (push) Has been cancelled
Some checks failed
.NET Build / build (push) Has been cancelled
This commit is contained in:
parent
5dd74297c6
commit
ccb5b01290
3 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit 874a3773bc4f637de1ef1fa8756b4debe3d8f68b
|
Subproject commit 3d6cee1a11922ccd426f36060fd026bc1a698adf
|
||||||
|
|
@ -17,7 +17,7 @@ public class PenumbraApi(
|
||||||
UiApi ui) : IDisposable, IApiService, IPenumbraApi
|
UiApi ui) : IDisposable, IApiService, IPenumbraApi
|
||||||
{
|
{
|
||||||
public const int BreakingVersion = 5;
|
public const int BreakingVersion = 5;
|
||||||
public const int FeatureVersion = 12;
|
public const int FeatureVersion = 13;
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class RedrawApi(RedrawService redrawService, IFramework framework, Collec
|
||||||
helpers.AssociatedCollection(actor.ObjectIndex, out var modCollection);
|
helpers.AssociatedCollection(actor.ObjectIndex, out var modCollection);
|
||||||
if (collection == modCollection)
|
if (collection == modCollection)
|
||||||
{
|
{
|
||||||
framework.RunOnFrameworkThread(() => redrawService.RedrawObject(actor.ObjectIndex, setting));
|
redrawService.RedrawObject(actor.ObjectIndex, setting);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue