The Role of Habitat Complexity in Community Development Is Mediated by Resource Availability