If your USB-C power adapter supplied with your Mac laptop stops charging, gets hot, or sparks, it may be time to replace it. The yellowing of the plastic has nothing to do with performance, but with the exposure of the plastic to UV rays. If you're still connecting to the adapter, there's no reason to change it. If the light doesn't turn on when you plug in the charger, you may have a faulty AC outlet.
Fortunately, the chargers on our Macs come with removable plugs; switch one from another device to try it out. If the USB-C power adapter doesn't charge your MacBook, MacBook Air, or MacBook Pro, first try unplugging the power adapter from the power outlet, wait a few seconds, and then plug it back in. If your MacBook, MacBook Air, or MacBook Pro isn't loading as expected, check your Mac for software updates. Remember that not all USB-C cables can charge your MacBook, MacBook Air, or MacBook Pro, so make sure that the cable you test is designed for charging.
To charge the MacBook Pro, connect one end of the USB-C to MagSafe 3 cable to the MagSafe 3 port on the MacBook Pro and the other end to the included power adapter. To charge your MacBook Pro, connect one end of the USB-C charging cable to any Thunderbolt port on the MacBook Pro and the other end to the included power adapter. If you're still unsure if your Macbook needs a new power adapter module, it's best to consult an expert. An expert can help you determine if your charger is still working and safe or if it needs to be replaced. They can also help you troubleshoot any issues you may be having with your charger and provide advice on how to best care for it. It's important to remember that a faulty power adapter can cause serious damage to your Macbook.
If you suspect that your charger is not working properly or is not safe to use, it's best to replace it as soon as possible.