PatchworkMC / patchwork-api

An attempt to reimplement the Minecraft Forge API on Fabric
GNU Lesser General Public License v2.1
282 stars 48 forks source link

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

Closed cittyinthecloud closed 4 years ago

cittyinthecloud commented 4 years ago

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.