Skip to content

Commit

Permalink
feat: 鉱石・交換券変換システムで使用するインベントリのスロット数を増やす
Browse files Browse the repository at this point in the history
  • Loading branch information
liliscats committed Jul 11, 2023
1 parent 1a6e572 commit 4f213b3
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 4f213b3

Please sign in to comment.