When i want to use the pokedex on myself to check the pokedex it self it gives me this error
I could use some help to fix this
Code:
[19/01/2016 17:22:23] [Error - Action Interface]
[19/01/2016 17:22:23] data/actions/scripts/pokedex.lua:onUse
[19/01/2016 17:22:23] Description:
[19/01/2016 17:22:23] data/actions/scripts/pokedex.lua:36: attempt to index a boolean value
[19/01/2016 17:22:23] stack traceback:
[19/01/2016 17:22:23] data/actions/scripts/pokedex.lua:36: in function <data/actions/scripts/pokedex.lua:3>
I could use some help to fix this