From a58490e56a849458dde3306bd22fa55aa3baefd6 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Wed, 28 Jun 2023 22:12:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E3=82=AC=E3=83=81=E3=83=A3=E6=99=AF?= =?UTF-8?q?=E5=93=81=E3=81=AE=E7=A2=BA=E7=8E=87=E3=81=A8=E9=87=8F=E3=82=92?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=81=99=E3=82=8B=E3=82=B3=E3=83=9E=E3=83=B3?= =?UTF-8?q?=E3=83=89=E3=81=AE=E3=83=91=E3=83=BC=E3=82=B5=E3=83=BC=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E3=81=8C=E9=80=86=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subsystems/gacha/bukkit/GachaCommand.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala b/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala index 02c6815433..028a888610 100644 --- a/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala +++ b/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala @@ -288,8 +288,8 @@ class GachaCommand[ .beginConfiguration() .argumentsParsers( List( - Parsers.closedRangeInt(1, 64, MessageEffect("数は1~64で指定してください。")), - Parsers.closedRangeInt(1, Int.MaxValue, MessageEffect("IDは正の値を指定してください。")) + Parsers.closedRangeInt(1, Int.MaxValue, MessageEffect("IDは正の値を指定してください。")), + Parsers.closedRangeInt(1, 64, MessageEffect("数は1~64で指定してください。")) ) ) .execution { context => @@ -326,8 +326,8 @@ class GachaCommand[ .beginConfiguration() .argumentsParsers( List( - probabilityParser, - Parsers.closedRangeInt(1, Int.MaxValue, MessageEffect("IDは正の値を指定してください。")) + Parsers.closedRangeInt(1, Int.MaxValue, MessageEffect("IDは正の値を指定してください。")), + probabilityParser ) ) .execution { context => From ab2db724bd7185bedf3732bf9eee022b53869602 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Wed, 28 Jun 2023 22:15:07 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E6=95=B0=20->=20=E3=82=A2?= =?UTF-8?q?=E3=82=A4=E3=83=86=E3=83=A0=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../seichiassist/subsystems/gacha/bukkit/GachaCommand.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala b/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala index 028a888610..69c3eadc80 100644 --- a/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala +++ b/src/main/scala/com/github/unchama/seichiassist/subsystems/gacha/bukkit/GachaCommand.scala @@ -289,7 +289,7 @@ class GachaCommand[ .argumentsParsers( List( Parsers.closedRangeInt(1, Int.MaxValue, MessageEffect("IDは正の値を指定してください。")), - Parsers.closedRangeInt(1, 64, MessageEffect("数は1~64で指定してください。")) + Parsers.closedRangeInt(1, 64, MessageEffect("アイテム数は1~64で指定してください。")) ) ) .execution { context =>