Skip to content

Adjust Biome Name tooltip to use getter#1518

Merged
LAGIdiot merged 1 commit intoGregTechCE:masterfrom
ALongStringOfNumbers:mappingFix
Mar 8, 2021
Merged

Adjust Biome Name tooltip to use getter#1518
LAGIdiot merged 1 commit intoGregTechCE:masterfrom
ALongStringOfNumbers:mappingFix

Conversation

@ALongStringOfNumbers
Copy link
Copy Markdown
Collaborator

What:
This PR brings the important fix of changing the Biome Name tooltip to use the biome name getter out of PR #1506. This is done so that it can be merged without having the finalize the issues in that PR and reviewing the entire PR.

How solved:
In future MCP mappings, the biomeName field changed to private, which caused some players to get access errors when viewing the tooltip on the ore spawn page. This PR simply switches from using the field to using the getter.

Outcome:
Fixes crash when viewing tooltip on JEI Ore page.

Possible compatibility issue:
There should be none

Copy link
Copy Markdown
Member

@LAGIdiot LAGIdiot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this issue.

@LAGIdiot LAGIdiot added rsr: revision Release size requirements: Revision status: accepted type: bug Something isn't working labels Mar 8, 2021
@LAGIdiot LAGIdiot merged commit d7afd73 into GregTechCE:master Mar 8, 2021
@ALongStringOfNumbers ALongStringOfNumbers deleted the mappingFix branch March 22, 2021 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rsr: revision Release size requirements: Revision status: accepted type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants