Slightly less-hacky workaround for #940
I'm a bit confused that this change works, though, considering the line number of loadCuboidFace listed in the stack trace.
This commit is contained in:
parent
9fba3e22a9
commit
ca11db3ff1
1 changed files with 3 additions and 1 deletions
|
@ -102,7 +102,9 @@ public class RenderBlocks implements ICCBlockRenderer {
|
|||
|
||||
public static void renderFace(CCRenderState state, EnumFacing side, IVertexOperation... ops)
|
||||
{
|
||||
if (bounds != null) {
|
||||
face.loadCuboidFace(bounds, side.ordinal());
|
||||
}
|
||||
state.setPipeline(face, 0, face.verts.length, ops);
|
||||
state.render();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue