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"
version = "0.1.0"
version = "0.1.1"
repositories {
maven("https://maven.aliyun.com/repository/public")

View File

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

View File

@ -148,7 +148,7 @@ object MinecraftService {
sort = AddonSortMethod.POPULARITY,
sortDescending = true,
gameVersion = null,
index = pageIndex,
index = pageIndex * pageSize,
pageSize = pageSize,
searchFilter = filter,
)