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

Replace BlockError mixin with event handler #671

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

RecursivePineapple
Copy link
Contributor

Something is calling TextureMap.registerIcons before preInit() sets up the BlockError reference. While adding a null check to the mixin would also fix this, a mixin isn't needed here since forge exposes an event for this purpose.

To take this screenshot, the block was registered temporarily.
2024-10-22_15 42 47

Something is calling TextureMap.registerIcons before preInit() sets up
the BlockError reference. While adding a null check to the mixin would
also fix this, a mixin isn't needed here since forge exposes an event
for this purpose.
@RecursivePineapple RecursivePineapple added the bug Something isn't working label Oct 22, 2024
@Cleptomania Cleptomania merged commit bd5cd35 into master Oct 22, 2024
1 check passed
@Cleptomania Cleptomania deleted the remove-block-error-mixin branch October 22, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants