Tile Entities should re-size the buffer before sending it.

This commit is contained in:
AlgorithmX2 2014-09-09 19:34:31 -05:00
parent db52d849e2
commit c7e157a625

View file

@ -285,6 +285,7 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile,
AELog.error( t );
}
stream.capacity( stream.readableBytes() );
data.setByteArray( "X", stream.array() );
return new S35PacketUpdateTileEntity( xCoord, yCoord, zCoord, 64, data );
}