修复 sleep 功能的 lapis_apple 段的时间检查错误

This commit is contained in:
A.C.Sukazyo Eyre 2022-03-18 00:31:22 +08:00
parent 1389fbc592
commit 043a67231e
Signed by: Eyre_S
GPG Key ID: EFB47D98FE082FAD
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
## Core ## Core
VERSION = 0.6.1.1 VERSION = 0.6.2.0
# dependencies # dependencies

View File

@ -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;
} }

View File

@ -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
)) ))
) { ) {