Skip to content

Commit

Permalink
Remove superfluous call to getVoxelStats
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Jan 3, 2018
1 parent c22b378 commit f42ab5f
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -6,7 +6,6 @@
import mod.chiselsandbits.chiseledblock.BlockChiseled;
import mod.chiselsandbits.chiseledblock.TileEntityBlockChiseled;
import mod.chiselsandbits.chiseledblock.data.VoxelBlob;
import mod.chiselsandbits.chiseledblock.data.VoxelBlob.BlobStats;
import mod.chiselsandbits.chiseledblock.data.VoxelBlobStateReference;
import mod.chiselsandbits.integration.ChiselsAndBitsIntegration;
import mod.chiselsandbits.integration.IntegrationBase;
Expand Down Expand Up @@ -46,9 +45,7 @@ public static TileEntityBlockChiseled getConvertedTE(
if ( blob != null )
{
TileEntityBlockChiseled cte = new TileEntityBlockChiseled();
// cte.setBlob( blob, false );

BlobStats stats = blob.getVoxelStats();
cte.setState( cte.getBasicState()
.withProperty( BlockChiseled.UProperty_VoxelBlob, new VoxelBlobStateReference( blob, TileEntityBlockChiseled.getPositionRandom( te.getPos() ) ) ) );

Expand Down

0 comments on commit f42ab5f

Please sign in to comment.