mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: OT caching fix until Kizer can PR a better version
This commit is contained in:
parent
2721e2df16
commit
0d7a036ff1
1 changed files with 2 additions and 0 deletions
|
|
@ -271,6 +271,8 @@ internal sealed partial class ObjectTable
|
|||
var cache = this.owner!.cachedObjectTable.AsSpan();
|
||||
for (this.index++; this.index < ObjectTableLength; this.index++)
|
||||
{
|
||||
this.owner!.cachedObjectTable[this.index].Update(this.owner!.GetObjectAddressUnsafe(this.index));
|
||||
|
||||
if (cache[this.index].ActiveObject is { } ao)
|
||||
{
|
||||
this.Current = ao;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue