Fixed player casting, and modified getLocation for entity.
Merge pull request #54 from tritania/fixes

Fixed player casting, and modified getLocation for entity.