|
|
@ -43,7 +43,6 @@ fun makeInventory(
|
|
|
|
for (i in menuRow until menuRow + 9) {
|
|
|
|
for (i in menuRow until menuRow + 9) {
|
|
|
|
setItem(i, buttons.pane)
|
|
|
|
setItem(i, buttons.pane)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
println("page=$page | total=$total")
|
|
|
|
|
|
|
|
if (page != 1) setItem(menuRow, buttons.previous)
|
|
|
|
if (page != 1) setItem(menuRow, buttons.previous)
|
|
|
|
setItem(menuRow + 4, buttons.menu)
|
|
|
|
setItem(menuRow + 4, buttons.menu)
|
|
|
|
if (page != total) setItem(menuRow + 8, buttons.forward)
|
|
|
|
if (page != total) setItem(menuRow + 8, buttons.forward)
|
|
|
|