[[[release 0.6.2.0]]]

## 🧯Bug Fix

修复 sleep 功能的 lapis_apple 段的时间检查错误
This commit is contained in:
A.C.Sukazyo Eyre 2022-03-18 00:37:14 +08:00
commit 7def016bdc
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 = 1647493945844L; public static final long COMPILE_TIMESTAMP = 1647534871045L;
} }

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