yeet some comments

This commit is contained in:
defnotken
2026-01-05 15:40:32 -06:00
parent d00df84ed6
commit 4eec363cd2

View File

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