mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Merge branch '1.20.2' into 1.20.4
This commit is contained in:
commit
c3b829ecbf
1 changed files with 1 additions and 2 deletions
|
@ -23,10 +23,9 @@ public class DeerAntlers extends WearableGear {
|
||||||
dayChecked = true;
|
dayChecked = true;
|
||||||
Calendar cal = Calendar.getInstance();
|
Calendar cal = Calendar.getInstance();
|
||||||
dayResult = cal.get(Calendar.MONTH) == Calendar.DECEMBER
|
dayResult = cal.get(Calendar.MONTH) == Calendar.DECEMBER
|
||||||
&& cal.get(Calendar.DAY_OF_MONTH) == 25;
|
&& Math.abs(cal.get(Calendar.DAY_OF_MONTH) - 25) < 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return dayResult;
|
return dayResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue