Crash when breaking sneaky block with chisel texture.
Pieterv24 opened this issue ยท 3 comments
Client craches when a sneaky block is broken while it has the texture of a chisel block.
Tested with sneaky block and sneaky false block.
Suspect all sneaky blocks are affected.
Suspect something goes wrong while rendering the breaking texture on the block.
Minecraft 1.10.2
Dark-Utilities 1.1.7.111
Chisel 0.0.8.12
I think this is an issue with Chisel. Likely something they've changed recently, as this was working at one point.
Nope, you are feeding our render system null as the render layer, which is invalid. While a null layer is used for break texture rendering, it is never sent to canRenderInLayer.
Here's the problem line: https://github.com/Darkhax-Minecraft/Dark-Utilities/blob/master/src/main/java/net/darkhax/darkutils/features/sneaky/ModelSneakyBlock.java#L65
Just short circuit the canRenderInLayer check with layer == null