From 4b1d966d844097ac910dd725422e1b1c1cb28250 Mon Sep 17 00:00:00 2001 From: makeevrserg Date: Wed, 12 Jun 2024 23:58:06 +0300 Subject: [PATCH 1/2] fix amount and price completer --- .../astramarket/command/common/CommonCommandRegistry.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/command-bukkit/src/main/kotlin/ru/astrainteractive/astramarket/command/common/CommonCommandRegistry.kt b/modules/command-bukkit/src/main/kotlin/ru/astrainteractive/astramarket/command/common/CommonCommandRegistry.kt index e36dabf..6227c56 100644 --- a/modules/command-bukkit/src/main/kotlin/ru/astrainteractive/astramarket/command/common/CommonCommandRegistry.kt +++ b/modules/command-bukkit/src/main/kotlin/ru/astrainteractive/astramarket/command/common/CommonCommandRegistry.kt @@ -28,14 +28,14 @@ internal class CommonCommandRegistry(dependencies: CommonCommandDependencies) : 2 -> { when (args.getOrNull(0)) { "open", "expired" -> Bukkit.getOnlinePlayers().map(Player::getName) - "sell" -> listOf(translation.auction.tabCompleterAmount.raw).withEntry(args.last()) + "sell" -> listOf(translation.auction.tabCompleterPrice.raw).withEntry(args.last()) else -> emptyList() } } 3 -> { when (args.getOrNull(0)) { - "sell" -> listOf(translation.auction.tabCompleterPrice.raw).withEntry(args.last()) + "sell" -> listOf(translation.auction.tabCompleterAmount.raw).withEntry(args.last()) else -> emptyList() } } From e7677895e70b8da8e9e776bccbf153bc920ade20 Mon Sep 17 00:00:00 2001 From: makeevrserg Date: Thu, 13 Jun 2024 00:02:48 +0300 Subject: [PATCH 2/2] up version 1.16.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 6058716..2f2cbc4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ makeevrserg.java.ktarget=21 # Project makeevrserg.project.name=AstraMarket makeevrserg.project.group=ru.astrainteractive.astramarket -makeevrserg.project.version.string=1.16.0 +makeevrserg.project.version.string=1.16.1 makeevrserg.project.description=Market plugin for EmpireSMP makeevrserg.project.developers=makeevrserg|Makeev Roman|makeevrserg@gmail.com makeevrserg.project.url=https://empireprojekt.ru