Items not distributed Modern Algebra's Quest Journal reward method

I'm facing a strange issue with the "distribute_quest_rewards()" method. It will distribute gold successfully just fine, but any other parameter like armor,item,exp or weapon will not be distributed. All objectives and the quest are complete upon the call to the method, and it seems like the syntax is ok. You guys have any idea what's wrong here?
Was a pain find that script, but the reward should be:

Code:
    q[:rewards]           = [
        [:item, 1, 3],
        [:gold, 500],
      ]

Maybe theres a reason to each data in the array to be place in a line. Anyway if thats not the problem, here is the script:
http://rmrk.net/index.php?topic=45127.0
I've used that script a lot, and lokirafael is right, the rewards have to be in separate lines.
It is crucial that you follow Modern Algebra's layout exactly, otherwise it doesn't work.
It doesn't matter if you use separate lines or not, it's still an array with elements, that's not the issue.
But I also used it a long time ago, and it worked well without any issues, so you most probably did something wrong if your rewards won't trigger.
Recheck your events, check your script calls. If you did everything right, it should work.

Original thread: https://forums.rpgmakerweb.com/threads/items-not-distributed-modern-algebras-quest-journal-reward-method.92659/