1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-08 08:34:44 +02:00

Fixing an NPE with the /mcmmo command.

This commit is contained in:
Glitchfinder
2013-02-08 12:23:14 -08:00
parent 400d551295
commit f97e9bd19f

@ -81,6 +81,10 @@ public final class Anniversary {
GregorianCalendar anniversaryEnd = new GregorianCalendar(2013, Calendar.FEBRUARY, 6);
GregorianCalendar day = new GregorianCalendar();
if (hasCelebrated == null) {
createAnniversaryFile();
}
if (hasCelebrated.contains(sender.getName())) {
return;
}