Ask coding questions

← Back to all posts
Why does this list turn into a bool?
JavaTime (1)

On line 128, why does is it sometimes a list and sometimes a bool? You will get an error when it is a bool.

Comments
hotnewtop
Coder100 (17102)

make sure you are not making any typos.
The array is referred to as playerMoves and the bool is playerMove. Look for any stray s.