Fix problem when setting damage on a non existent Entity
Fix possible buffer overflow when parsing packets
Fix action if target Entity do not exist