Fix bug with containers in Player::hasCapacity

Fixes #1088