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

Cannot open another gui from the first gui opened by the player #243

Open
AraaCuteUwU opened this issue Mar 18, 2024 · 5 comments
Open

Cannot open another gui from the first gui opened by the player #243

AraaCuteUwU opened this issue Mar 18, 2024 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@AraaCuteUwU
Copy link

No description provided.

@xKaOz
Copy link

xKaOz commented Apr 4, 2024

A bit more context on this, I also have a similar issue, when I was using a DoubleChest as the menu it wouldn’t send very often, I tried a few different things, not sure how this works but I moved my code over to be a Hopper, and it sends more regularly? But after running the command a few times it just stops working, and I don’t really see why.

Before people ask yes i close the menu properly.

I’ll attach a video below, if you want to see some code about how I send the menu ect, just ask.

(https://streamable.com/j5vusa) the error you see in game is one I’m sending to the player inside $menu->send(…)

@AraaCuteUwU
Copy link
Author

A bit more context on this, I also have a similar issue, when I was using a DoubleChest as the menu it wouldn’t send very often, I tried a few different things, not sure how this works but I moved my code over to be a Hopper, and it sends more regularly? But after running the command a few times it just stops working, and I don’t really see why.

Before people ask yes i close the menu properly.

I’ll attach a video below, if you want to see some code about how I send the menu ect, just ask.

(https://streamable.com/j5vusa) the error you see in game is one I’m sending to the player inside $menu->send(…)

May I see the code?

@xKaOz
Copy link

xKaOz commented Apr 5, 2024

At this point my code is useless, i tested with a blank function to send a empty UI, on the latest commit, and it only sent twice.

image

I randomly tried to test a old commit (https://github.com/Muqsit/InvMenu/tree/706e307d705ef8fe20653bebd04a18b1d9b3e47) and everything is now working fine, with my original menu.

But honestly i don't see what could be wrong with his latest commit, what would've caused this.

@AraaCuteUwU
Copy link
Author

At this point my code is useless, i tested with a blank function to send a empty UI, on the latest commit, and it only sent twice.

image

I randomly tried to test a old commit (https://github.com/Muqsit/InvMenu/tree/706e307d705ef8fe20653bebd04a18b1d9b3e47) and everything is now working fine, with my original menu.

But honestly i don't see what could be wrong with his latest commit, what would've caused this.

I don't think there's anything wrong with my code, my code is the same as that

@xKaOz
Copy link

xKaOz commented Apr 5, 2024

@AraaCuteUwU no, thats not what i was saying i mean they is a issue with InvMenu related to the latest commit, you can use the older commit ((https://github.com/Muqsit/InvMenu/tree/706e307d705ef8fe20653bebd04a18b1d9b3e47) like i did, to solve this.

@Muqsit Muqsit added bug Something isn't working help wanted Extra attention is needed labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants