Skip to content

Commit

Permalink
Only cull faces on the client using real TE's
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Nov 23, 2018
1 parent 6ae2332 commit 27a5799
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -450,11 +450,11 @@ public void mirror(
public void rotate(
final Rotation p_189667_1_ )
{
VoxelBlob blob = ModUtil.rotate( getBlob(), Axis.Y, p_189667_1_ );
if ( blob != null )
{
setBlob( blob, true );
}
VoxelBlob blob = ModUtil.rotate( getBlob(), Axis.Y, p_189667_1_ );
if ( blob != null )
{
setBlob( blob, true );
}
}

public void fillWith(
Expand Down Expand Up @@ -817,7 +817,7 @@ public boolean isSideSolid(
public boolean isSideOpaque(
final EnumFacing side )
{
if ( this.getWorld().isRemote )
if ( this.getWorld() != null && this.getWorld().isRemote )
{
return isInnerSideOpaque( side );
}
Expand Down

0 comments on commit 27a5799

Please sign in to comment.