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
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>
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user