OpenCubicChunks / CubicWorldGen

Customizable CubicChunks world generation
MIT License
55 stars 23 forks source link

Menu crashing upon rendering block preview for block expecting world #115

Open sirati opened 3 years ago

sirati commented 3 years ago

I added an ore gen for a block that expected a proper world for creating a tile entity, however as no world exist at this stage the client crashed.

I suggest catching this exception and falling back to a) manually extracting and rendering the model b) just showing texture not found model c) not showing any preview for these blocks instead of crashing the client

https://pastebin.com/mnMizAS8