InventoryGui icon indicating copy to clipboard operation
InventoryGui copied to clipboard

getPageAmount doesn't return the correct amount of pages

Open FaMa91 opened this issue 3 years ago • 2 comments

Used Version

1.6-SNAPSHOT

What is happening?

in my plugin I use "gui.getPageAmount(pViewer)" to get total amount of pages. gui is an InventoryGui filled with a group of items. Pagination works as expected, there are 3 pages. But the method above returns 1.

What did you expect to happen?

The method should return 3

FaMa91 avatar Sep 24 '22 20:09 FaMa91

Please provide the actual code used.

Phoenix616 avatar Nov 20 '22 22:11 Phoenix616

I don't have it anymore, you can close if you think this was caused by my implementation

FaMa91 avatar Apr 02 '24 21:04 FaMa91