I can’t find what I’m doing wrong. Sometimes there was written that item = pet.findNearestItem() is written wrong, that I should type in pet.findNearestItem()… which was written the same. Only without the () there is no error, but it still doesn’t work. What do I need to change? Help
Just add the () back
you added “pass” too early.
item = pet.findNearestByType("item") or
potion = pet.findNearestByType("potion")