Fix paging index error

This commit is contained in:
筱傑 2021-11-01 20:12:09 +08:00
parent d268fa2207
commit 05a50b3b44
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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("""

View File

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