Skip to content

Comments

Fix custom MaterialIconSet not being registered for model#1861

Merged
serenibyss merged 1 commit intoGregTechCEu:masterfrom
miozune:fix/materialiconset-id
Jun 25, 2023
Merged

Fix custom MaterialIconSet not being registered for model#1861
serenibyss merged 1 commit intoGregTechCEu:masterfrom
miozune:fix/materialiconset-id

Conversation

@miozune
Copy link
Contributor

@miozune miozune commented Jun 19, 2023

What

This PR fixes MaterialIconSet registered by addons not being registered for item texture model.

Implementation Details

Putting variable idCounter after static instantiations results in custom MaterialIconSets having ids starting from 0 again.

Outcome

Fix bug.

@miozune miozune requested a review from a team as a code owner June 19, 2023 08:21
@ALongStringOfNumbers ALongStringOfNumbers added the type: bug Something isn't working label Jun 19, 2023
@serenibyss serenibyss merged commit 91e0516 into GregTechCEu:master Jun 25, 2023
@miozune miozune deleted the fix/materialiconset-id branch June 25, 2023 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants