Remove uses of AllObjectives (#30077)

Remove the uses of AllObjectives
This commit is contained in:
Cojoke
2024-07-16 02:17:18 -05:00
committed by GitHub
parent 911a94dba9
commit 927cf7799f
6 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ public sealed class ObjectiveBlacklistRequirementSystem : EntitySystem
if (args.Cancelled)
return;
foreach (var objective in args.Mind.AllObjectives)
foreach (var objective in args.Mind.Objectives)
{
if (_whitelistSystem.IsBlacklistPass(comp.Blacklist, objective))
{