Pine is fine as long as it isn't super fresh, so fresh that it's still sappy.
Also, keep it out of the water bowl. Turpines will be released by fresh pine if it gets soaked and these are bad for snakes.
Other than that, I've only been using it for few decades without problems.