Wehn Scrat gets his hand with the acorn bit by a pirahna, he karates all the pirahnas that come at him. Then at the end of the scene, he jumps on one of the pirahnas and the acorn comes out. But if you watch the whole scene, that wasn't the pirahna that bit his hand in the beginning.