Hi @akihiko_kahyaba,
Try change
to item = hero.findNearestItem()
. Make sure to capitalize the correct letters.
Also, could you tell us/show a screenshot of what the problem is? Thanks
For future reference, be sure to format your code as explained here.
Rachel