InventoryGui
InventoryGui copied to clipboard
getPageAmount doesn't return the correct amount of pages
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
Please provide the actual code used.
I don't have it anymore, you can close if you think this was caused by my implementation