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

Can't add two stages with same item but different blockdata #102

Open
miranda1000 opened this issue Mar 10, 2024 · 1 comment
Open

Can't add two stages with same item but different blockdata #102

miranda1000 opened this issue Mar 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@miranda1000
Copy link
Owner

In Paper (not Spigot) you can't create a mine with wheat and wheat[age=7]; it will report "stage with wheat[age=7] already exists!"

@miranda1000 miranda1000 added the bug Something isn't working label Mar 10, 2024
@miranda1000
Copy link
Owner Author

The way the mine allows (or denies) if a stage can be added is by checking a hash of BlockType; so the only way to fail is that the isEquals() method of Paper's BlockTypePost13 is broken.

I suspect on https://github.com/rogermiranda1000/Spigot-VersionController/blob/52dfdc14013db9a37442ab1f7a0adb618c0e36c3/src/main/java/com/rogermiranda1000/versioncontroller/blocks/BlockTypePost13.java#L157 ; will have to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant