8000 Release/9.6.0 by JorelAli · Pull Request #609 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content

Release/9.6.0 #609

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

Merged
merged 77 commits into from
Oct 28, 2024
Merged

Release/9.6.0 #609

merged 77 commits into from
Oct 28, 2024

Conversation

JorelAli
Copy link
Member

No description provided.

JorelAli and others added 30 commits August 11, 2024 15:25
That includes an update from, for example, 1.21 -> 1.21.1, but not, for example, 1.21.1 -> 1.22

Also changes build order to first package actual artifacts (shade, plugin) and then runs tests
Co-authored-by: willkroboth <46540330+willkroboth@users.noreply.github.com>
Co-authored-by: willkroboth <46540330+willkroboth@users.noreply.github.com>
This was a similar issue to what was brought up here: #594 (comment). It seems that having `NMS_1_21_R1::new` as a method reference still loads the `NMS_1_21_R1` class enough that Java gets mad. On 1.19, trying to load the CommandAPI gives `java.lang.VerifyError: Bad type on operand stack - Type 'net/minecraft/commands/CommandBuildContext' (current frame, stack[1]) is not assignable to 'net/minecraft/core/HolderLookup$a'` with the stacktrace going through that line.

Moving all references to the `NMS_1_21_R1` class into the if statements allowed loading on 1.19 as expected. That does mean the slight inconvenience of having to specify and update the latest NMS object in two place.
< 8000 div class="pr-1 d-md-inline-block d-none">
This doesn't happen anymore since the included config.yml files were deleted.
This could also help with further rewriting to aid development for multiple platforms.
< 8000 input type="hidden" name="oid" value="78b1f7c29bdc6034cd165eacb629dabc17e27e9f" autocomplete="off" data-targets="batch-deferred-content.inputs" />
DerEchtePilz and others added 29 commits October 8, 2024 19:38
@JorelAli JorelAli merged commit e39fab8 into master Oct 28, 2024
0 of 3 checks passed
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
0