for (int i = 0; i < this.getChassiSize(); i++){
LogisticsModule x = _module.getSubModule(i);
if (x instanceof ILegacyActiveModule){
ILegacyActiveModule y = (ILegacyActiveModule)x;
if(y.filterAllowsItem(tree.getStackItem())) {
y.canProvide(tree, donePromisses, filters);
return;
}
}
}
}