Macbook Air magsafe charger pins burnt and wont charge
So I made a question on this before but I never really figured out why it was that this happened so now that I have pictures im going back to ask the question again. So the problem is my magsafe charger pins are burnt and they wont charge. The place where it connects to the macbook air is a little brown around the circles aswell. The charger cable line is also yellow. And the macbook wont charger unless you slam the charger in hard enough after a few tries. Here is a picture below. Does anyone know if buying a new charger would fix it and why this happened?
MacBook Air 13″, macOS 10.14