Fixes casting a double to an integer, when the variable itself is a double.
Remove unneeded logging of parameter data.
Fixes Out of Bounds exception. As they are stored and decremented by one, they are deserialized again with a -1 position, leading to an out of bounds exception being thrown. Denoting it as 1 leads to it being saved as zero, correcting the issue.
Corrects NPE when loading entities.
This actually corrects the NPE related to constructing. Doesn't allow a -1 to be used as a position.
Revert "Fixes Out of Bounds exception. As they are stored and decremented by one, they are deserialized again with a -1 position, leading to an out of bounds exception being thrown. Denoting it as 1 leads to it being saved as zero, correcting the issue."

This reverts commit 828af95fbac0f74ceace6ff8e51739e4462b9fcc.

Conflicts:
	src/main/java/de/kumpelblase2/remoteentities/api/thinking/BaseBehavior.java
Merge pull request #69 from BitLimit/persistence-fixes

Persistence Fixes