diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt index affdaee0d..a3ca0957d 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/PlatformUtils.kt @@ -10,7 +10,7 @@ import kotlinx.io.core.Input /** * 时间戳 */ -val currentTime: Long = DateTime.nowUnixLong() +inline val currentTime: Long get() = DateTime.nowUnixLong() /** * 设备名