Clothing/item ECS & cleanup (#9706)
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Content.Server.Conveyor
|
||||
public bool CanRun(ConveyorComponent component)
|
||||
{
|
||||
return component.State != ConveyorState.Off &&
|
||||
!EntityManager.HasComponent<SharedItemComponent>(component.Owner) &&
|
||||
!EntityManager.HasComponent<ItemComponent>(component.Owner) &&
|
||||
this.IsPowered(component.Owner, EntityManager);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user