Fixed NULL being passed instead of a double to AddEntityEffect