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

Fixed hash equality check not working on Velocity #57

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

itsTyrion
Copy link

@itsTyrion itsTyrion commented Feb 6, 2024

As is, equal_pack_attributes.hash does not function correctly on Velocity, because Objects.equals is used on a byte array, which only checks for reference equality, which cannot work because the getter always creates a clone.
After a quick test, the resource pack seems to be correctly skipped.

@itsTyrion
Copy link
Author

bump?

@SliderKP
Copy link

@itsTyrion can you send a version working with velocity?

@itsTyrion
Copy link
Author

Can do but I gotta rebase it on top of the fixes done since mine and I'm not on PC right now, ping me if I forget

@Hecker-01
Copy link

@itsTyrion can you send it to me too?

@itsTyrion
Copy link
Author

@Hecker-01
Copy link

Thanks!
and btw @LoneDev6 please merge xD

@SwartZCoding
Copy link
Contributor

@LoneDev6 ? please merge this 💯

@itsTyrion
Copy link
Author

" I will accept pull requests as soon as they work correctly."

this one has been working correctly since.. always

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

Successfully merging this pull request may close these issues.

4 participants