How to fix a MacBook charger?

I have a macbook I bought in like december 06 and it's got that magnetic charger, sometimes the light wouldn't turn on when I plugged it in but it always charged, now I accidentally knocked it off of the computer and it won't work. the computer and the magnet were out of contact for maybe 2 seconds and it suddenly stopped working altogether

I tried restarting/taking out the battery but no good.

Tags: , ,