Hmm...I'm not a master in this matter, but there might be just a minimal portion of water and there's no contact between the charger and the Macbook plug.
Suggestions:
-Try do dry it without damaging it;
-Buy a new one if it doesn't work;
-Don't use electronic stuff near water.