Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Don't crash when a mod's Block has a BlockEntity but doesn't extend BlockEntityProvider#145

Merged
TheGlitch76 merged 1 commit intomasterfrom
bugfix/blockentity-crash
Jul 23, 2020
Merged

Don't crash when a mod's Block has a BlockEntity but doesn't extend BlockEntityProvider#145
TheGlitch76 merged 1 commit intomasterfrom
bugfix/blockentity-crash

Conversation

@cittyinthecloud
Copy link
Contributor

The implementation of the setBlockState Mixins here makes the assumption that Forge Blocks that have a BE will extend BlockEntityProvider, which is often not the case.

@cittyinthecloud cittyinthecloud changed the title Don't crash when a mods Block has a BlockEntity but doesn't extend BlockEntityProvider Don't crash when a mod's Block has a BlockEntity but doesn't extend BlockEntityProvider Jul 23, 2020
@TheGlitch76 TheGlitch76 merged commit 494fd27 into master Jul 23, 2020
@TheGlitch76 TheGlitch76 deleted the bugfix/blockentity-crash branch July 23, 2020 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants