From 4f213b3fb59a43f06a4fc69cd1021a0c3601cc45 Mon Sep 17 00:00:00 2001 From: liliscats Date: Tue, 11 Jul 2023 15:46:51 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=89=B1=E7=9F=B3=E3=83=BB=E4=BA=A4?= =?UTF-8?q?=E6=8F=9B=E5=88=B8=E5=A4=89=E6=8F=9B=E3=82=B7=E3=82=B9=E3=83=86?= =?UTF-8?q?=E3=83=A0=E3=81=A7=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=83=99=E3=83=B3=E3=83=88=E3=83=AA=E3=81=AE=E3=82=B9?= =?UTF-8?q?=E3=83=AD=E3=83=83=E3=83=88=E6=95=B0=E3=82=92=E5=A2=97=E3=82=84?= =?UTF-8?q?=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../seichiassist/listener/PlayerInventoryListener.scala | 4 ++-- .../unchama/seichiassist/menus/stickmenu/FirstPage.scala | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/scala/com/github/unchama/seichiassist/listener/PlayerInventoryListener.scala b/src/main/scala/com/github/unchama/seichiassist/listener/PlayerInventoryListener.scala index d320a98574..9371b85643 100644 --- a/src/main/scala/com/github/unchama/seichiassist/listener/PlayerInventoryListener.scala +++ b/src/main/scala/com/github/unchama/seichiassist/listener/PlayerInventoryListener.scala @@ -46,8 +46,8 @@ class PlayerInventoryListener( // エラー分岐 val inventory = event.getInventory - // インベントリサイズが36でない時終了 - if (inventory.row != 4) return + // インベントリサイズが54でない時終了 + if (inventory.row != 6) return if (inventory.getTitle != s"$LIGHT_PURPLE${BOLD}交換したい鉱石を入れてください") return diff --git a/src/main/scala/com/github/unchama/seichiassist/menus/stickmenu/FirstPage.scala b/src/main/scala/com/github/unchama/seichiassist/menus/stickmenu/FirstPage.scala index 02262db2d1..8724203955 100644 --- a/src/main/scala/com/github/unchama/seichiassist/menus/stickmenu/FirstPage.scala +++ b/src/main/scala/com/github/unchama/seichiassist/menus/stickmenu/FirstPage.scala @@ -741,7 +741,7 @@ object FirstPage extends Menu { // TODO メニューに置き換える openInventoryEffect( InventoryUtil.createInventory( - size = 4.chestRows, + size = 6.chestRows, title = Some(s"$LIGHT_PURPLE${BOLD}交換したい鉱石を入れてください") ) )