2 Commits

Author SHA1 Message Date
KnackAtNite 415a1ec283 Fix NullReferenceException when Target is null (v0.0.3.14)
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Release Build and Publish / Release Build against Staging Dalamud and deploy to MyDalamudPlugins (release) Has been cancelled
- Add null check for e.Target before dereferencing in FlyTextArtist.Draw
- Prevents crash when fly text events reference despawned characters
- Bump version to 0.0.3.14

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-22 14:15:35 -05:00
KnackAtNite 4e4b2bd32d v0.0.3.13: Fix KeyNotFoundException when status ID not in sheet (return row not cache)
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Release Build and Publish / Release Build against Staging Dalamud and deploy to MyDalamudPlugins (release) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 23:51:10 -05:00
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Authors>cultbaus</Authors> <Authors>cultbaus</Authors>
<Company>-</Company> <Company>-</Company>
<Version>0.0.3.12</Version> <Version>0.0.3.14</Version>
<Description>This plugin manipulates flytext.</Description> <Description>This plugin manipulates flytext.</Description>
<Copyright>-</Copyright> <Copyright>-</Copyright>
<PackageProjectUrl>https://github.com/cultbaus/CBT</PackageProjectUrl> <PackageProjectUrl>https://github.com/cultbaus/CBT</PackageProjectUrl>
+3 -3
View File
@@ -85,7 +85,7 @@ public unsafe class SheetManager : S.IDisposable
this.actionCache[actionID] = row; this.actionCache[actionID] = row;
} }
return this.actionCache[actionID]; return row;
} }
private Status? GetStatusRow(int value1) private Status? GetStatusRow(int value1)
@@ -96,7 +96,7 @@ public unsafe class SheetManager : S.IDisposable
this.statusCache[value1] = row; this.statusCache[value1] = row;
} }
return this.statusCache[value1]; return row;
} }
private Item? GetItemRow(int value1) private Item? GetItemRow(int value1)
@@ -107,6 +107,6 @@ public unsafe class SheetManager : S.IDisposable
this.itemCache[value1] = row; this.itemCache[value1] = row;
} }
return this.itemCache[value1]; return row;
} }
} }
+1 -1
View File
@@ -31,7 +31,7 @@ public unsafe class FlyTextArtist
flyTextEvents.ForEach(e => flyTextEvents.ForEach(e =>
{ {
if (e.Kind != FlyTextKind.None) if (e.Kind != FlyTextKind.None && e.Target != null)
{ {
var qt = Service.Tree.GetQuadTree(e.Target->GetGameObjectId().ObjectId); var qt = Service.Tree.GetQuadTree(e.Target->GetGameObjectId().ObjectId);