Carpenter's Blocks

Carpenter's Blocks

24M Downloads

ChunkCache cannot be cast to net.minecraft.world crash

Donkazi opened this issue ยท 5 comments

commented

I am playing Bevo's techpack, and i just updated it. But when i tried to join my world, it kept crashing, and i could see that carpenters block did something wrong in the crash report, but i didnt know what it did.. But i fixed it by removing Carpenter's blocks, but that's not what i wanted.

Here is the crash report: http://pastebin.com/Ujw1KDhg

commented

It looks like the crash has been reported within the last few days in the Extra Utilities thread, but I would suggest also reporting it to https://github.com/rwtema/extrautilities. I can't see the code, so asking there is your best option.

commented

Alright, will do. And thanks alot! :)

commented

According to the extrautilities-issue page, another mod also seems to get into trouble when put into a carpenters block. The issue seems to be that those mods expect to have a World as IBlockAccess, but get a ChunkCache. Can this be fixed by checking the type of blockAccess and using ChunkCache.world to always pass a World object?
I understand that the problem is actually on the other mods side, doing an unsafe upcast, but this could make Carpenter's Blocks just more compatible.

commented

Thanks, a technical explanation usually helps me find the problem.

commented

You're awesome, @Mineshopper!