Hi there,
I am currently on the RICH FORAGER level and it is giving me an error message “Type.Error: Can’t read protected property: findNearestItem” but this is code that the game system automatically puts in when the level loads. Is this a glitch that needs to be fixed or am I doing something wrong?
@monsteryjosh some earlier glasses have the function hero.findNearestItem
. Just replace the code with the updated way to get the nearest item with your current equipment.
That’s exactly what it was. Thanks for that. Will make a rule to check all
my gear if I think my code is correct but it still gives me error messages.
Thanks
Harry_the_Wanderer
September 19
@monsteryjosh some earlier glasses have the function
hero.findNearestItem. Just replace the code with the updated way to get the
nearest item with your current equipment.