Improved workaround for #940
Seems to hold up a little better now. Still haven't figured out what could be causing only bounds.max to end up null.
This commit is contained in:
parent
ca11db3ff1
commit
b0a6788ac4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public class RenderBlocks implements ICCBlockRenderer {
|
|||
|
||||
public static void renderFace(CCRenderState state, EnumFacing side, IVertexOperation... ops)
|
||||
{
|
||||
if (bounds != null) {
|
||||
if (bounds != null && bounds.min != null && bounds.max != null) {
|
||||
face.loadCuboidFace(bounds, side.ordinal());
|
||||
}
|
||||
state.setPipeline(face, 0, face.verts.length, ops);
|
||||
|
|
Loading…
Reference in a new issue