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

Better long term solution for button fix needed #11

Open
ProgrammerDan opened this issue Oct 30, 2016 · 8 comments
Open

Better long term solution for button fix needed #11

ProgrammerDan opened this issue Oct 30, 2016 · 8 comments

Comments

@ProgrammerDan
Copy link
Contributor

https://github.com/DevotedMC/ExilePearl/blob/master/src/main/java/com/devotedmc/ExilePearl/listener/PlayerListener.java#L834

See notes.

@ProgrammerDan ProgrammerDan assigned ghost Oct 30, 2016
@TealNerd
Copy link
Contributor

Is this still an issue?

@ProgrammerDan
Copy link
Contributor Author

afaik yes, haven't tested in a while and don't remember the current status.

@TealNerd
Copy link
Contributor

What was wrong?

@ProgrammerDan
Copy link
Contributor Author

Comments are like 5-6 lines below the one I highlight, but basically, you couldn't craft buttons. I think I fixed that sort of? But felt that my solution wasn't great. Been over a year now though...

@TealNerd
Copy link
Contributor

Yeah I think a return there is fine, maybe squashing those couple cases into one if statement would be good though

@ProgrammerDan
Copy link
Contributor Author

Wouldn't really change whatever past-me had an issue with though :3

@TealNerd
Copy link
Contributor

Good point

@dquist
Copy link
Contributor

dquist commented Nov 17, 2017

I think previously it used to cancel the craft event if it was a button, but now it just returns, or something along those lines. I don't exactly remember, but there was some initial attempt made to fix the bug.

The issue was never closed because it's still kind of hacky, I couldn't ever think of a better solution.

Diet-Cola pushed a commit to Diet-Cola/ExilePearl that referenced this issue May 14, 2022
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

3 participants