mirror of
https://github.com/jie65535/mirai-console-jcf-plugin.git
synced 2025-06-02 17:39:15 +08:00
Fix paging index error
This commit is contained in:
parent
d268fa2207
commit
05a50b3b44
@ -7,7 +7,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "me.jie65535"
|
group = "me.jie65535"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://maven.aliyun.com/repository/public")
|
maven("https://maven.aliyun.com/repository/public")
|
||||||
|
@ -10,7 +10,7 @@ object JCurseforge : KotlinPlugin(
|
|||||||
JvmPluginDescription(
|
JvmPluginDescription(
|
||||||
id = "me.jie65535.jcf",
|
id = "me.jie65535.jcf",
|
||||||
name = "J Curseforge Util",
|
name = "J Curseforge Util",
|
||||||
version = "0.1.0",
|
version = "0.1.1",
|
||||||
) {
|
) {
|
||||||
author("jie65535")
|
author("jie65535")
|
||||||
info("""
|
info("""
|
||||||
|
@ -148,7 +148,7 @@ object MinecraftService {
|
|||||||
sort = AddonSortMethod.POPULARITY,
|
sort = AddonSortMethod.POPULARITY,
|
||||||
sortDescending = true,
|
sortDescending = true,
|
||||||
gameVersion = null,
|
gameVersion = null,
|
||||||
index = pageIndex,
|
index = pageIndex * pageSize,
|
||||||
pageSize = pageSize,
|
pageSize = pageSize,
|
||||||
searchFilter = filter,
|
searchFilter = filter,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user