You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Challenge 4 - If there is no nearby artefact, the console will return:
Uh oh! Something isn't correct on line 43. Here's the error we got:
simulation.errors.NoNearbyArtefactsError: There aren't any nearby artefacts, you need to move closer!
This then blocks any code after this, so if you want to check through your backpack to check your items, you need to be within range of an artefact.
We need to let the user know this, or change the solution to part two and ask the user to remove the previous locate code before searching through the bag.
The text was updated successfully, but these errors were encountered:
Challenge 4 - If there is no nearby artefact, the console will return:
Uh oh! Something isn't correct on line 43. Here's the error we got:
simulation.errors.NoNearbyArtefactsError: There aren't any nearby artefacts, you need to move closer!
This then blocks any code after this, so if you want to check through your backpack to check your items, you need to be within range of an artefact.
We need to let the user know this, or change the solution to part two and ask the user to remove the previous locate code before searching through the bag.
The text was updated successfully, but these errors were encountered: