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

[Idiot] Having a bit of trouble with the GUI after the update. #22

Closed
TerraPrimal opened this issue Jul 15, 2018 · 4 comments
Closed

[Idiot] Having a bit of trouble with the GUI after the update. #22

TerraPrimal opened this issue Jul 15, 2018 · 4 comments
Labels

Comments

@TerraPrimal
Copy link

So I was few versions behind (1.1.3) and I have updated and added the new InventoryManager, however I still can't get it to work.
The GUI loads fine and doesn't override the borders (thanks for that) but there is no response from the icons or the pagination prev, next.
I guess I am missing something obvious and need it spelt out for me -_-.

I had added a .gif below and a snippet of code (just basic pagination).
https://i.gyazo.com/3fab7832db51e9c1b745fd3c70e9be20.gif
https://pastebin.com/ehXMFUyM

Thanks!

@TerraPrimal
Copy link
Author

I have also tried having the following in my MenuClass
https://pastebin.com/tJQRKUXx

And this is my main class
https://pastebin.com/NWxsA007

The SmartInvs-1.2.1.jar is in my plugins folder as well as depend: [SmartInvs]
The above method throws this error: https://pastebin.com/DGGdutXU

@MinusKube
Copy link
Owner

Hi, you must call the invManager.init() method before using it :p

@TerraPrimal
Copy link
Author

Of bloody course, in my code I am registering my listener class PRIOR to init the InventoryManager... ofc it throws an error...

Thank god this moment of idiocy isn't publicly view-able, for like... ever :D

@Rndstad
Copy link

Rndstad commented Sep 8, 2018

It is ‘publicly view-able’ @TerraPrimal

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

No branches or pull requests

3 participants