mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-22 19:24:53 +08:00
修复 sleep 功能的 lapis_apple 段的时间检查错误
This commit is contained in:
parent
1389fbc592
commit
043a67231e
@ -1,6 +1,6 @@
|
|||||||
## Core
|
## Core
|
||||||
|
|
||||||
VERSION = 0.6.1.1
|
VERSION = 0.6.2.0
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
|
|
||||||
|
@ -4,6 +4,6 @@ package cc.sukazyo.cono.morny;
|
|||||||
* the final field that will be updated by gradle automatically.
|
* the final field that will be updated by gradle automatically.
|
||||||
*/
|
*/
|
||||||
public class GradleProjectConfigures {
|
public class GradleProjectConfigures {
|
||||||
public static final String VERSION = "0.6.1.1";
|
public static final String VERSION = "0.6.2.0";
|
||||||
public static final long COMPILE_TIMESTAMP = 1647424091182L;
|
public static final long COMPILE_TIMESTAMP = 1647533461453L;
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,7 @@ public class OnKuohuanhuanNeedSleep extends EventListener {
|
|||||||
time.get(Calendar.HOUR_OF_DAY) < 5
|
time.get(Calendar.HOUR_OF_DAY) < 5
|
||||||
)) || ( update.message().from().id() == 1075871712L && (
|
)) || ( update.message().from().id() == 1075871712L && (
|
||||||
(time.get(Calendar.HOUR_OF_DAY) >= 22 && time.get(Calendar.MINUTE) >= 30) ||
|
(time.get(Calendar.HOUR_OF_DAY) >= 22 && time.get(Calendar.MINUTE) >= 30) ||
|
||||||
|
time.get(Calendar.HOUR_OF_DAY) >= 23 ||
|
||||||
time.get(Calendar.HOUR_OF_DAY) < 5
|
time.get(Calendar.HOUR_OF_DAY) < 5
|
||||||
))
|
))
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user