v0.4.3a: extended the duration of the halloween treat due to it being late
This commit is contained in:
@@ -59,7 +59,10 @@ public class Pasty extends Food {
|
|||||||
holiday = Holiday.HWEEN;
|
holiday = Holiday.HWEEN;
|
||||||
break;
|
break;
|
||||||
case Calendar.NOVEMBER:
|
case Calendar.NOVEMBER:
|
||||||
if (calendar.get(Calendar.DAY_OF_MONTH) == 1)
|
if (calendar.get(Calendar.DAY_OF_MONTH) == 1 ||
|
||||||
|
//halloween treat is releasing late in 2016, give it a bit more time
|
||||||
|
(calendar.get(Calendar.YEAR) == 2016
|
||||||
|
&& calendar.get(Calendar.WEEK_OF_MONTH) == 1))
|
||||||
holiday = Holiday.HWEEN;
|
holiday = Holiday.HWEEN;
|
||||||
break;
|
break;
|
||||||
case Calendar.DECEMBER:
|
case Calendar.DECEMBER:
|
||||||
|
|||||||
Reference in New Issue
Block a user