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

Backend: Respect minecraft nullability in more places #2847

Merged
merged 11 commits into from
Nov 12, 2024

Conversation

CalMWolfs
Copy link
Collaborator

@CalMWolfs CalMWolfs commented Oct 27, 2024

What

Fix code in a bunch of spots that technically could cause an npe because the methods are nullable just MC 1.8.9 doesnt mark them as such. This fixes preprocessing for future versions where these methods are marked as nullable and will show as an error in the code

Errors for preprocessing 1.8.9 -> 1.12.2 reduced by 31

Changelog Technical Details

  • Updated more parts of the code to respect Minecraft's nullability. - CalMWolfs

@CalMWolfs CalMWolfs added the Soon This Pull Request will be merged within the next couple of betas label Oct 27, 2024
@CalMWolfs CalMWolfs added this to the Version 0.28 milestone Oct 27, 2024
@github-actions github-actions bot added the Backend A backend pull request that will be merged soon label Oct 27, 2024
@github-actions github-actions bot added the Merge Conflicts There are open merge conflicts with the beta branch. label Nov 12, 2024
Copy link

This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes.

# Conflicts:
#	detekt/baseline.xml
@github-actions github-actions bot removed the Merge Conflicts There are open merge conflicts with the beta branch. label Nov 12, 2024
Copy link

Conflicts have been resolved! 🎉

@CalMWolfs CalMWolfs merged commit b772440 into hannibal002:beta Nov 12, 2024
6 checks passed
@CalMWolfs CalMWolfs deleted the fix-shots branch November 12, 2024 08:55
@github-actions github-actions bot removed Soon This Pull Request will be merged within the next couple of betas Backend A backend pull request that will be merged soon labels Nov 12, 2024
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.

1 participant