We don’t want a player’s only weapon to break. The logical AND operator checks if two statements are true.
Use the logical AND operator && to add a second condition to your if statement. The player’s weapon should only break if inventory.length does not equal (!==) one.
Here is an example of an if statement with two conditions:
if (firstName === "Quincy" && lastName === "Larson") {
}
I will admit, this hint is not that great, but what it is trying to tell you is that you should not modify anything about the if statement that was already there. You should only add to it. You have modified something that you didn’t need to and the tests don’t like it. I would reset the step to get the original code back and then be careful to only add the new stuff to the if statement. Don’t change anything that is already there.