Fix HasSoulgem function to return number of soulgems
Merge remote-tracking branch 'scrawl/master'