Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPageAmount doesn't return the correct amount of pages #41

Open
FaMa91 opened this issue Sep 24, 2022 · 2 comments
Open

getPageAmount doesn't return the correct amount of pages #41

FaMa91 opened this issue Sep 24, 2022 · 2 comments

Comments

@FaMa91
Copy link

FaMa91 commented Sep 24, 2022

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

@Phoenix616
Copy link
Owner

Please provide the actual code used.

@FaMa91
Copy link
Author

FaMa91 commented Apr 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants