Change itemStackIsValid() to itemIsValid()