1 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
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<Authors>cultbaus</Authors>
<Company>-</Company>
<Version>0.0.3.13</Version>
<Version>0.0.3.14</Version>
<Description>This plugin manipulates flytext.</Description>
<Copyright>-</Copyright>
<PackageProjectUrl>https://github.com/cultbaus/CBT</PackageProjectUrl>
+1 -1
View File
@@ -31,7 +31,7 @@ public unsafe class FlyTextArtist
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);