Skip to content

Commit

Permalink
Merge pull request #2167 from GiganticMinecraft/feat/#2159
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Jul 11, 2023
2 parents 1a6e572 + 4f213b3 commit 31d12ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ object FirstPage extends Menu {
// TODO メニューに置き換える
openInventoryEffect(
InventoryUtil.createInventory(
size = 4.chestRows,
size = 6.chestRows,
title = Some(s"$LIGHT_PURPLE${BOLD}交換したい鉱石を入れてください")
)
)
Expand Down

0 comments on commit 31d12ad

Please sign in to comment.