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

separate MarkerMaterial from OreDictUnifier #1933

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

TechLord22
Copy link
Member

What

Refactors MarkerMaterials into a new registry independent of OreDictUnifier. This refactor also allows for multiple mods registering a MarkerMaterial with the same name, which would previously hard crash.

Outcome

Separates MarkerMaterial registration from OreDictUnifier.

Potential Compatibility Issues

MarkerMaterials must now be created using MarkerMaterial.create().
Registration of MarkerMaterials is now automatic, and the methods to do so in OreDictUnifier have been removed.

@TechLord22 TechLord22 added the type: refactor Suggestion to refactor a section of code label Jul 12, 2023
@TechLord22 TechLord22 requested a review from a team as a code owner July 12, 2023 23:07
@ALongStringOfNumbers ALongStringOfNumbers added this to the 2.8 milestone Jul 12, 2023
Copy link
Contributor

@ALongStringOfNumbers ALongStringOfNumbers left a comment

Choose a reason for hiding this comment

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

Please Re-target to the 2.8 branch before merging

@ALongStringOfNumbers ALongStringOfNumbers changed the base branch from master to 2.8 September 7, 2023 15:01
@ALongStringOfNumbers ALongStringOfNumbers merged commit fb66aa9 into 2.8 Sep 7, 2023
@ALongStringOfNumbers ALongStringOfNumbers deleted the tc-marker-material-registry branch September 7, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants