Run sloppy break check on server only(addresses laggy falling redwood)
@@ -514,6 +514,7 @@ public abstract class BlockBranch extends Block implements ITreePart, IBurningLi
@Override
public void breakBlock(World world, BlockPos pos, IBlockState state) {
+ if(!world.isRemote) {
IBlockState toBlock = world.getBlockState(pos);
if(toBlock.getBlock() == Blocks.AIR && destroyMode == EnumDestroyMode.SLOPPY) {
//System.out.println("Sloppy break detected at: " + pos);
@@ -521,6 +522,7 @@ public abstract class BlockBranch extends Block implements ITreePart, IBurningLi
sloppyBreak(world, pos);
}
}
+ }
// Super member also does nothing
@Override
