mirror of
https://github.com/jie65535/mirai-console-jcf-plugin.git
synced 2025-10-20 17:19:48 +08:00
Fix paging index error
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
Reference in New Issue
Block a user