Are there negative connotations associated with that? Wasn't it what QueueSetBlock did?

On 25 May 2014, at 16:57, "worktycho" <notifications@github.com> wrote:

> In src/Blocks/BlockPiston.cpp:
> 
> > +		{
> > +			cChunkInterface ChunkInterface(a_World->GetChunkMap());
> > +			cBlockInServerPluginInterface PluginInterface(*a_World);
> > +			Handler->DropBlock(ChunkInterface, *a_World, PluginInterface, NULL, a_BlockX, a_BlockY, a_BlockZ);
> > +		}
> > +	}
> > +
> > +	// Push blocks, from the furthest to the nearest:
> > +	int oldx = a_BlockX, oldy = a_BlockY, oldz = a_BlockZ;
> > +	NIBBLETYPE currBlockMeta;
> > +	for (int i = dist + 1; i > 1; i--)
> > +	{
> > +		AddPistonDir(a_BlockX, a_BlockY, a_BlockZ, pistonMeta, -1);
> > +		a_World->GetBlockTypeMeta(a_BlockX, a_BlockY, a_BlockZ, currBlock, currBlockMeta);
> > +		a_World->SetBlock(oldx, oldy, oldz, currBlock, currBlockMeta, false);
> > +		a_World->ScheduleTask(PISTON_TICK_DELAY, new cWorld::cTaskSendBlockToAllPlayers(oldx, oldy, oldz));
> Your scheduling up to 13 tasks per piston movement. Can't you do it in one?
> 
> —
> Reply to this email directly or view it on GitHub.