Split PoolManager into separate classes. (#19370)
This commit is contained in:
@@ -19,7 +19,7 @@ public sealed class StackTest
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
foreach (var entity in PoolManager.GetEntityPrototypes<StackComponent>(server))
|
||||
foreach (var entity in PoolManager.GetPrototypesWithComponent<StackComponent>(server))
|
||||
{
|
||||
if (!entity.TryGetComponent<StackComponent>(out var stackComponent, compFact) ||
|
||||
!entity.TryGetComponent<ItemComponent>(out var itemComponent, compFact))
|
||||
|
||||
Reference in New Issue
Block a user