Inline HasComponent entirely
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Content.IntegrationTests.Tests.PDA
|
||||
continue;
|
||||
}
|
||||
|
||||
if (item.Owner.HasComponent<PDAComponent>())
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent<PDAComponent>(item.Owner.Uid))
|
||||
{
|
||||
inventory.ForceUnequip(slot);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user