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"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
|
||||
repositories {
|
||||
maven("https://maven.aliyun.com/repository/public")
|
||||
|
@ -10,7 +10,7 @@ object JCurseforge : KotlinPlugin(
|
||||
JvmPluginDescription(
|
||||
id = "me.jie65535.jcf",
|
||||
name = "J Curseforge Util",
|
||||
version = "0.1.0",
|
||||
version = "0.1.1",
|
||||
) {
|
||||
author("jie65535")
|
||||
info("""
|
||||
|
@ -148,7 +148,7 @@ object MinecraftService {
|
||||
sort = AddonSortMethod.POPULARITY,
|
||||
sortDescending = true,
|
||||
gameVersion = null,
|
||||
index = pageIndex,
|
||||
index = pageIndex * pageSize,
|
||||
pageSize = pageSize,
|
||||
searchFilter = filter,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user