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