Add entity health saving.
Merge pull request #1125 from Howaner/Entities

Add entity health saving.