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

Fix potential breaking change with fuel values of -1 #778

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

Shadows-of-Fire
Copy link
Contributor

Fixes the possibility that return values of -1 from IItemExtension#getBurnTime could propagate to callers that were not checking for negative values, moving necessary logic to the IItemStackExtension method and noting appropriate future changes.

Supersedes #777

@Shadows-of-Fire Shadows-of-Fire added bug A bug or error 1.20.4 Targeted at Minecraft 1.20.4 labels Apr 4, 2024
@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@Technici4n Technici4n enabled auto-merge (squash) April 4, 2024 17:28
@Technici4n Technici4n merged commit 152472a into neoforged:1.20.x Apr 4, 2024
4 checks passed
ApexModder pushed a commit to ApexModder/NeoForge that referenced this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.20.4 Targeted at Minecraft 1.20.4 bug A bug or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants