diff --git a/CBT/CBT.csproj b/CBT/CBT.csproj index 6a72521..cf8f41b 100644 --- a/CBT/CBT.csproj +++ b/CBT/CBT.csproj @@ -3,7 +3,7 @@ cultbaus - - 0.0.3.13 + 0.0.3.14 This plugin manipulates flytext. - https://github.com/cultbaus/CBT diff --git a/CBT/Interface/FlyTextArtist.cs b/CBT/Interface/FlyTextArtist.cs index 6228b05..37707eb 100644 --- a/CBT/Interface/FlyTextArtist.cs +++ b/CBT/Interface/FlyTextArtist.cs @@ -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);