Just give it time. My snake was also very nippy but once he hit 500g he's never made an attempt to bite again. When they're small, they're more vulnerable so naturally they're very defensive. But after they've put on a good amount of weight, they'll mellow out a lot more.