Fixed null when setting player inventories.
Merge pull request #27 from Clashnia/inventories

Fixed null when setting player inventories.