Changes totalWeight of Inventory to functional style.
Fixes totalWeight function.
Merge branch 'develop' of github.com:ayaigame/ayai-backend into inventory-saving
Fixes Jarrad's spammy output.
Merge pull request #78 from ayaigame/inventory-saving

Inventory saving