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

Close action not executed when using GuiBackElement #9

Open
loidsemus opened this issue May 19, 2020 · 1 comment
Open

Close action not executed when using GuiBackElement #9

loidsemus opened this issue May 19, 2020 · 1 comment

Comments

@loidsemus
Copy link
Contributor

The close action for the current GUI should be executed when clicking a GuiBackElement, but the inventory is never actually closed so that doesn't seem to happen. I've tried to fix it myself but the methods I tried caused some very weird behavior (called 20+ times instead of zero...) and I have no idea why.

@Phoenix616
Copy link
Owner

Interesting, I assume that has something to do with it opening the new inventory without explicitly closing the old one in order to avoid the mouse moving back to the middle. Gonna have to take a look at that and see if that might even a bug in the server or how to fix it in the plugin.

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

No branches or pull requests

2 participants