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}交換したい鉱石を入れてください") ) )