-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
CalculatePageAmount #30
Comments
|
Here ist the code. https://hatebin.com/pwmzwzysgo |
Hm, you are nesting dynamic elements inside of o dynamic element, that might be what is causing that behaviour. Such a setup is not necessary as the outermost dynamic element will already re-generate the full inner element so can you test removing the innermost dynamic element and see if that already solves it? |
No, unfortunately that does not solve the problem |
Do you need more information? |
Seeing as the issue isn't happening for me, yes. |
Okay, what else do you need? |
Full plugin (code) would be the easiest to debug this with, otherwise you are going to have to provide an extremely simple example which can reproduce this behaviour. (Because I can't create one that does) |
Used Version
LATEST
What is happening?
I use the Inventory System to create an inventory with several pages. I use a GroupElement and there I add staticitems. However, 2 pages exist although the slots of the group are not full. In addition, the second page is equipped with the same items as page 1. If I make the slots of one page full and a few on the second page, it works with the pages. This means that the calculatePageAmount method does not work.
Additional context
Page 1: https://prnt.sc/11x6lr7
Page 2: https://prnt.sc/11x6m64
The text was updated successfully, but these errors were encountered: