yeet some comments
This commit is contained in:
@@ -1079,7 +1079,6 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
|
|||||||
_actorObjectService.RefreshTrackedActors();
|
_actorObjectService.RefreshTrackedActors();
|
||||||
}
|
}
|
||||||
|
|
||||||
// CRITICAL: Capture snapshot once to prevent mid-iteration changes
|
|
||||||
var playerDescriptors = _actorObjectService.PlayerDescriptors;
|
var playerDescriptors = _actorObjectService.PlayerDescriptors;
|
||||||
var descriptorCount = playerDescriptors.Count;
|
var descriptorCount = playerDescriptors.Count;
|
||||||
|
|
||||||
@@ -1087,7 +1086,6 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Revalidate the count in case collection changed
|
|
||||||
if (i >= playerDescriptors.Count)
|
if (i >= playerDescriptors.Count)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -1108,7 +1106,6 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
|
|||||||
|
|
||||||
if (!IsAnythingDrawing)
|
if (!IsAnythingDrawing)
|
||||||
{
|
{
|
||||||
// Wrap ALL pointer access in try-catch
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var gameObj = (GameObject*)playerAddress;
|
var gameObj = (GameObject*)playerAddress;
|
||||||
@@ -1118,7 +1115,6 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get name with protection - NameString internally dereferences pointers
|
|
||||||
string currentName;
|
string currentName;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user