In the beginning of Avengers: Infinity War:
Rocket gives Thor a prosthetic eye that he got from the previous Guardian of the Galaxy films.
And it does not seem to be a special/magic/enchanted/powerful item.
Then, in the middle of the movie:
when Thor needs to reactivate the forge of Nidavellir, he takes the power of a star!
So, how/why does this object not get destroyed in the process?